Project

General

Profile

Actions

Task #1148

closed

mock implementation of time structs

Added by Junxiao Shi almost 11 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Core
Target version:
Start date:
01/24/2014
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Define time::Duration, time::Point, time::now.

time::Point refers to monotonic clock.


Related issues 3 (0 open3 closed)

Blocks NFD - Task #1128: mock implementation of PITClosedJunxiao Shi01/26/2014

Actions
Blocks NFD - Task #1119: Implement simple event schedulerClosedAlex Afanasyev01/24/201401/24/2014

Actions
Precedes ndn-cxx - Task #1152: time structsClosedAlex Afanasyev

Actions
Actions #1

Updated by Junxiao Shi almost 11 years ago

  • Subject changed from time duration and point to mock implementation of time structs
  • Description updated (diff)
  • Status changed from New to Resolved
Actions #2

Updated by Alex Afanasyev almost 11 years ago

  • Target version set to Mock
Actions #3

Updated by Junxiao Shi almost 11 years ago

clock_gettime is not available on OSX.

OSX has mach_absolute_time but I can't understand it, so time::now() fallbacks to wall clock on OSX.

Actions #4

Updated by Junxiao Shi almost 11 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Alex Afanasyev almost 11 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Junxiao Shi over 10 years ago

  • Category set to Core
Actions

Also available in: Atom PDF