5#include <xtd/event_args>
6#include <xtd/time_span>
35 time_span elapsed()
const {
return time_span {std::chrono::duration_cast<xtd::ticks>(std::chrono::nanoseconds {elapsed_nanoseconds_}).count()};}
38 int64 elapsed_milliseconds()
const {
return std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::nanoseconds {elapsed_nanoseconds_}).count();}
49 int32 frame_counter_ = 0;
50 int64 elapsed_nanoseconds_ {0};
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition event_args.h:18
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
int64_t int64
Represents a 64-bit signed integer.
Definition int64.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Represents a time interval.
Definition time_span.h:29