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

Method Execute

Parallel/Core/vtkPExecutableRunner.cxx:12–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10vtkStandardNewMacro(vtkPExecutableRunner);
11
12void vtkPExecutableRunner::Execute()
13{
14 vtkMultiProcessController* controller = vtkMultiProcessController::GetGlobalController();
15 int localProcessId = controller->GetLocalProcessId();
16 if (localProcessId != this->ExecutionProcessId && this->ExecutionProcessId != -1)
17 {
18 return;
19 }
20
21 vtkLogF(TRACE, "Executing command %s on rank %i", this->GetCommand(), localProcessId);
22 this->Superclass::Execute();
23}
24
25void vtkPExecutableRunner::PrintSelf(ostream& os, vtkIndent indent)
26{

Callers 1

Calls 2

GetCommandMethod · 0.80
GetLocalProcessIdMethod · 0.45

Tested by

no test coverage detected