Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我开始跟踪一些 pid,然后在 100 秒后fprof:trace([start, {procs, [Pids]}])停止跟踪。fprof:trace(stop)它输出"Empty trace!" executing fprof:profile(),因此fprof:analyse({dest, Path})输出一个空文件。这些函数的所有调用都返回ok。为什么会这样?
fprof:trace([start, {procs, [Pids]}])
fprof:trace(stop)
"Empty trace!" executing fprof:profile()
fprof:analyse({dest, Path})
ok
看起来你做对了。
你能验证你的 Pids 在你的 100 秒内实际上在做什么吗?您是否正确指定了 Pid?使用命令查看您的 Pids 减少的次数
i().
在 Erlang 外壳中。
用什么宏可以用更短的东西替换“模板...”样板?即:而不是这些:
template <typename NodeDataT, typename ArcDataT> /*constructor*/ GraphDirected:: GraphDirected() { } template <typename Nod