Skip to content

Feature: Add time util method to get time since a reference point

Christian Dreher requested to merge feature/time-since into master

This is useful to quickly get the length a certain call or segment of code took for execution, amongst other uses.

const IceUtil::Time time_capture = TimeUtil::GetTime();

// Something that takes some time...

ARMARX_DEBUG << "Done in " << TimeUtil::GetTimeSince(time_capture);
Edited by Christian Dreher

Merge request reports