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

Method start

SRC/recorder/MPCORecorder.cpp:1412–1415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1410 Timer(const std::string &task_name)
1411 : m_task_name(task_name), m_t0(0), m_t1(0) {}
1412 inline void start() {
1413 m_t0 = clock();
1414 m_t1 = m_t0;
1415 }
1416 inline void stop() {
1417 m_t1 = clock();
1418 std::cout << " MPCORecorder. Task = \"" << m_task_name << "\". Elapsed time: " << double(m_t1 - m_t0) / double(CLOCKS_PER_SEC) << "\n";

Callers 11

mainFunction · 0.45
writeModelNodesMethod · 0.45
writeModelElementsMethod · 0.45
writeModelLocalAxesMethod · 0.45
writeSectionsMethod · 0.45
writeSetsMethod · 0.45
initNodeRecordersMethod · 0.45
initElementRecordersMethod · 0.45
recordResultsOnNodesMethod · 0.45
startTimerFunction · 0.45

Calls 1

clockClass · 0.85

Tested by

no test coverage detected