Lines Matching defs:event
123 Model::IOScheduler::IOScheduler(system_profiler_io_scheduler_added* event,
126 fAddedEvent(event),
135 Model::WaitObject::WaitObject(const system_profiler_wait_object_info* event)
137 fEvent(event),
268 Model::Team::Team(const system_profiler_team_added* event, nanotime_t time)
270 fCreationEvent(event),
293 Model::Thread::Thread(Team* team, const system_profiler_thread_added* event,
301 fCreationEvent(event),
666 // Binary search the event. Since not all events have a timestamp, we have
674 switch (header->event) {
692 system_profiler_thread_scheduling_event* event
694 if (event->time < eventTime)
787 Model::AddTeam(const system_profiler_team_added* event, nanotime_t time)
789 Team* team = TeamByID(event->team);
791 fprintf(stderr, "Duplicate team: %" B_PRId32 "\n", event->team);
796 team = new(std::nothrow) Team(event, time);
831 Model::AddThread(const system_profiler_thread_added* event, nanotime_t time)
834 Thread* thread = ThreadByID(event->thread);
836 fprintf(stderr, "Duplicate thread: %" B_PRId32 "\n", event->thread);
842 Team* team = TeamByID(event->team);
844 fprintf(stderr, "No team for thread: %" B_PRId32 "\n", event->thread);
849 thread = new(std::nothrow) Thread(team, event, time);
868 Model::AddWaitObject(const system_profiler_wait_object_info* event,
872 WaitObject* waitObject = new(std::nothrow) WaitObject(event);
981 Model::AddIOScheduler(system_profiler_io_scheduler_added* event)
983 IOScheduler* scheduler = new(std::nothrow) IOScheduler(event,