MCPcopy Create free account
hub / github.com/Compaile/ctrack / Event

Class Event

include/ctrack.hpp:430–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428 };
429
430 struct Event
431 {
432 std::chrono::high_resolution_clock::time_point start_time;
433 std::chrono::high_resolution_clock::time_point end_time;
434 int line;
435 int thread_id;
436 std::string_view filename;
437 std::string_view function;
438 unsigned int event_id;
439 Event(const std::chrono::high_resolution_clock::time_point &start_time, const std::chrono::high_resolution_clock::time_point &end_time, const std::string_view filename, const int line, const std::string_view function, const int thread_id, const unsigned int event_id)
440 : start_time(start_time), end_time(end_time), line(line), thread_id(thread_id), filename(filename), function(function), event_id(event_id)
441 {
442 }
443 };
444
445 struct Simple_Event
446 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected