diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Profiler/CollectProfilerStats.h |
Diffstat (limited to 'Runtime/Profiler/CollectProfilerStats.h')
-rw-r--r-- | Runtime/Profiler/CollectProfilerStats.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Runtime/Profiler/CollectProfilerStats.h b/Runtime/Profiler/CollectProfilerStats.h new file mode 100644 index 0000000..cf446a9 --- /dev/null +++ b/Runtime/Profiler/CollectProfilerStats.h @@ -0,0 +1,18 @@ +#ifndef _COLLECT_PROFILER_STATS_H_ +#define _COLLECT_PROFILER_STATS_H_ + +#include "Configuration/UnityConfigure.h" + +struct AllProfilerStats; +struct MemoryStats; + +#if ENABLE_PROFILER + +void CollectProfilerStats (AllProfilerStats& stats); +ProfilerString GetMiniMemoryOverview(); + +#endif + +unsigned GetUsedHeapSize(); + +#endif
\ No newline at end of file |