#include <string>
#include "DSC_interface.hxx"
#include <sys/time.h>
#include <fstream>
#include <sys/stat.h>
#include <sstream>
#include <stdlib.h>
Functions | |
static void | initTrace (const std::string &containerName) |
Initialize the trace file. More... | |
Variables | |
static int | traceType =-1 |
static int | traceLevel =-1 |
static std::ofstream | traceFile |
static std::ostream * | out |
|
static |
Initialize the trace file.
The trace file depends on an environment variable (DSC_TRACE). If this variable is equal to 1, the trace file is a file with the name : <TMPDIR>/<container name>="">.tce. In all other cases, the trace file is stderr The environment variable DSC_TRACELEVEL can be used to suppress the trace (value 0)
containerName | the name of the container where the trace is built |
References out, and traceFile.
Referenced by Engines_DSC_interface::writeEvent().
|
static |
Referenced by SALOME_ContainerManager::BuildTempFileToLaunchRemoteContainer(), SALOMEDSImpl_Study::dump(), SALOMEDSImpl_Study::DumpStudy(), SALOME_ResourcesManager::getMachineFile(), initTrace(), Logger::Logger(), SALOME_ContainerManager::machinesFile(), main(), replace_tabs(), FileTraceCollector::run(), SALOMEDS_AttLong_i::Save(), SALOMEDS_AttReal_i::Save(), UtilsTest::setUp(), LifeCycleCORBATest::setUp(), NamingServiceTest::setUp(), BatchTest::test_appli(), BatchTest::test_jobsubmit_mpi(), BatchTest::test_jobsubmit_simple(), SALOMELocalTraceTest::testLoadBufferPoolFile(), SALOMELocalTraceTest::testSingletonBufferPool(), ToDouble(), and ToString().
|
static |
|
static |
|
static |
Referenced by LocalTraceBufferPool::insert().