cpv-project / live-profiler

Header only library for real time performance analysis, supports c, c++, go, java, .net
MIT License
18 stars 6 forks source link

Add userTime and kernelTime in CpuSampleModel, support sorting by time in analyzers #10

Open 303248153 opened 6 years ago

303248153 commented 6 years ago

There should be a weight in each sample like user time, kernel time and total time, for now the weight of all samples is 1, that mean the profiler can't found which function really do the heavy things. reference: https://gist.github.com/303248153/b4164b9cb812b9f02df8d1601300be71