在哪里放置扭曲的轮廓仪?

2024-09-30 03:25:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试将twisted-theseus探查器添加到我的twisted应用程序中。你知道吗

我运行应用程序如下:

/bin/twistd my_app

我在app entrypoint后面放了几行字:

t = Tracer()
t.install() 
with open('callgrind.theseus', 'wb') as outfile:
    t.write_data(outfile)

我在输出callgrind.theseus文件中看到的所有内容都是:

events: Nanoseconds

我做错了什么?你知道吗


Tags: installapp应用程序binmywithtwistedopen

热门问题