mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-23 06:44:35 +00:00
e92874c0bb
Previously on demand mode was determined by frame offset parameter being greater than zero. However, if the application is not pumping frames with FrameMark macro, the frame index will never increase and the frame offset parameter stay at zero. It is not possible to distinguish on demand traces from normal ones in this scenario. Fix by explicitly saving the on demand flag in trace file and employ the previous logic to set the flag when importing older traces.
15 lines
169 B
C++
15 lines
169 B
C++
#ifndef __TRACYVERSION_HPP__
|
|
#define __TRACYVERSION_HPP__
|
|
|
|
namespace tracy
|
|
{
|
|
namespace Version
|
|
{
|
|
enum { Major = 0 };
|
|
enum { Minor = 9 };
|
|
enum { Patch = 2 };
|
|
}
|
|
}
|
|
|
|
#endif
|