Double the TimeToString buffer pool.

This commit is contained in:
Bartosz Taudul 2017-09-29 18:44:42 +02:00
parent 28912ca2e6
commit 3f9143d491

View File

@ -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];