1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Use short ptr for callstack frame data.

This commit is contained in:
Bartosz Taudul 2019-11-02 15:39:23 +01:00
parent 654f54d877
commit 2a28c6cc72

View File

@ -8,6 +8,7 @@
#include <string.h> #include <string.h>
#include "TracyCharUtil.hpp" #include "TracyCharUtil.hpp"
#include "TracyShortPtr.hpp"
#include "TracyVector.hpp" #include "TracyVector.hpp"
#include "tracy_flat_hash_map.hpp" #include "tracy_flat_hash_map.hpp"
#include "../common/TracyForceInline.hpp" #include "../common/TracyForceInline.hpp"
@ -288,7 +289,7 @@ enum { CallstackFrameSize = sizeof( CallstackFrame ) };
struct CallstackFrameData struct CallstackFrameData
{ {
CallstackFrame* data; short_ptr<CallstackFrame> data;
uint8_t size; uint8_t size;
}; };