chrono start time in c++
//declaring variables for start and end time
std::chrono::steady_clock::time_point startTime;
std::chrono::steady_clock::time_point endTime;
// these two methods will fetch start time and stop time.
startTime = std::chrono::steady_clock::now();
endTime = std::chrono::steady_clock::now();