mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Double the TimeToString buffer pool.
This commit is contained in:
parent
28912ca2e6
commit
3f9143d491
@ -610,7 +610,7 @@ Vector<Event*>& View::GetParentVector( const Event& ev )
|
|||||||
|
|
||||||
const char* View::TimeToString( int64_t ns ) const
|
const char* View::TimeToString( int64_t ns ) const
|
||||||
{
|
{
|
||||||
enum { Pool = 4 };
|
enum { Pool = 8 };
|
||||||
static char bufpool[Pool][64];
|
static char bufpool[Pool][64];
|
||||||
static int bufsel = 0;
|
static int bufsel = 0;
|
||||||
char* buf = bufpool[bufsel];
|
char* buf = bufpool[bufsel];
|
||||||
|
Loading…
Reference in New Issue
Block a user