mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
Fix bug in pajetrace log, disable trace by default
This commit is contained in:
parent
ceef45d3ac
commit
7b8c33ed49
@ -15,7 +15,7 @@ extern const char *header;
|
|||||||
namespace ngcore
|
namespace ngcore
|
||||||
{
|
{
|
||||||
// Produce no traces by default
|
// Produce no traces by default
|
||||||
size_t PajeTrace::max_tracefile_size = 11110000;
|
size_t PajeTrace::max_tracefile_size = 0;
|
||||||
|
|
||||||
// If true, produce variable counting active threads
|
// If true, produce variable counting active threads
|
||||||
// increases trace by a factor of two
|
// increases trace by a factor of two
|
||||||
@ -34,7 +34,7 @@ namespace ngcore
|
|||||||
if(max_num_events_per_thread>0)
|
if(max_num_events_per_thread>0)
|
||||||
{
|
{
|
||||||
logger->info( "Tracefile size = {}MB", max_tracefile_size/1024/1024);
|
logger->info( "Tracefile size = {}MB", max_tracefile_size/1024/1024);
|
||||||
logger->info( "Tracing {} events per thread", max_num_events_per_thread , " events per thread");
|
logger->info( "Tracing {} events per thread", max_num_events_per_thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.resize(nthreads);
|
tasks.resize(nthreads);
|
||||||
|
Loading…
Reference in New Issue
Block a user