Skip to content
Snippets Groups Projects
Commit 442a34c7 authored by Aaron Cuevas Lopez's avatar Aaron Cuevas Lopez
Browse files

Add Core Service to get software timestamp

parent 9e356417
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,11 @@ int64 getGlobalTimestamp()
return getMessageCenter()->getTimestamp();
}
int64 getSoftwareTimestamp()
{
return getMessageCenter()->getTimestamp(true);
}
namespace RecordNode
{
void createNewrecordingDir()
......
......@@ -56,6 +56,9 @@ Defaults to the first hardware timestamp source or the software one if
no hardware timestamping is present*/
int64 getGlobalTimestamp();
/** Gets the software timestamp based on a high resolution timer aligned to the start of each processing block */
int64 getSoftwareTimestamp();
namespace RecordNode
{
/** Forces creation of new directory on recording */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment