MCPcopy Create free account
hub / github.com/Kitware/VTK / WriteTimerLog

Method WriteTimerLog

Rendering/ParallelLIC/vtkPSurfaceLICInterface.cxx:96–115  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

94
95//------------------------------------------------------------------------------
96void vtkPSurfaceLICInterface::WriteTimerLog(const char* fileName)
97{
98#if defined(vtkSurfaceLICInterfaceTIME)
99 std::string fname = fileName ? fileName : "";
100 if (fname == this->LogFileName)
101 {
102 return;
103 }
104 this->LogFileName = fname;
105 if (!fname.empty())
106 {
107 vtkParallelTimer* log = vtkParallelTimer::GetGlobalInstance();
108 log->SetFileName(fname.c_str());
109 log->Update();
110 log->Write();
111 }
112#else
113 (void)fileName;
114#endif
115}
116
117//------------------------------------------------------------------------------
118vtkPainterCommunicator* vtkPSurfaceLICInterface::CreateCommunicator(int include)

Callers

nothing calls this directly

Calls 5

emptyMethod · 0.45
SetFileNameMethod · 0.45
c_strMethod · 0.45
UpdateMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected