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

Class Simple_Event

include/ctrack.hpp:445–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

443 };
444
445 struct Simple_Event
446 {
447 uint_fast64_t duration = 0;
448 std::chrono::high_resolution_clock::time_point start_time{};
449 int_fast64_t unique_id = 0;
450 std::chrono::high_resolution_clock::time_point end_time{};
451 Simple_Event(const std::chrono::high_resolution_clock::time_point &start_time, const std::chrono::high_resolution_clock::time_point &end_time, const uint_fast64_t duration, const int_fast64_t unique_id) : duration(duration), start_time(start_time), unique_id(unique_id), end_time(end_time) {}
452 Simple_Event() {}
453 };
454
455 inline bool cmp_simple_event_by_duration_asc(const Simple_Event &a, const Simple_Event &b)
456 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected