D | timer_set_test.cc | 55 TimerSetTest::Stage::Stage(uint32_t stage, uint64_t duration, in Stage() function in general_test::TimerSetTest::Stage 64 void TimerSetTest::Stage::start() { in start() 75 void TimerSetTest::Stage::processEvent(uint64_t timestamp, TimerSetTest *test) { in processEvent() 110 mStages = static_cast<Stage *>(chreHeapAlloc(sizeof(*mStages) * kStageCount)); in initStages() 118 new (&mStages[0]) Stage(0, kShortDuration, nullptr, true); in initStages() 120 new (&mStages[1]) Stage(1, kShortDuration, COOKIE(-1), true); in initStages() 122 new (&mStages[2]) Stage(2, kShortDuration, COOKIE(2), true); in initStages() 124 new (&mStages[3]) Stage(3, kLongDuration, COOKIE(3), true); in initStages() 126 new (&mStages[4]) Stage(4, kLongDuration, COOKIE(4), false); in initStages() 128 new (&mStages[5]) Stage(5, kShortDuration, COOKIE(5), false); in initStages() [all …]
|