MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / Py_ops_totalCPU

Function Py_ops_totalCPU

SRC/interpreter/PythonWrapper.cpp:1903–1913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1901}
1902
1903static PyObject *Py_ops_totalCPU(PyObject *self, PyObject *args)
1904{
1905 wrapper->resetCommandLine(PyTuple_Size(args), 1, args);
1906
1907 if (OPS_totalCPU() < 0) {
1908 opserr<<(void*)0;
1909 return NULL;
1910 }
1911
1912 return wrapper->getResults();
1913}
1914
1915
1916static PyObject *Py_ops_solveCPU(PyObject *self, PyObject *args)

Callers

nothing calls this directly

Calls 3

OPS_totalCPUFunction · 0.85
getResultsMethod · 0.80
resetCommandLineMethod · 0.45

Tested by

no test coverage detected