proxygen
StubClock Struct Reference

Public Types

typedef std::chrono::seconds duration
 

Static Public Member Functions

static std::chrono::time_point< StubClocknow ()
 

Static Public Attributes

static int t = 0
 

Detailed Description

Definition at line 36 of file AutoTimerTest.cpp.

Member Typedef Documentation

typedef std::chrono::seconds StubClock::duration

Definition at line 37 of file AutoTimerTest.cpp.

Member Function Documentation

static std::chrono::time_point<StubClock> StubClock::now ( )
inlinestatic

Definition at line 39 of file AutoTimerTest.cpp.

References folly::pushmi::detail::t.

39  {
40  return std::chrono::time_point<StubClock>(std::chrono::duration<int>(t));
41  }
static int t

Member Data Documentation

int StubClock::t = 0
static

Definition at line 42 of file AutoTimerTest.cpp.

Referenced by TEST().


The documentation for this struct was generated from the following file: