Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
timelinescope.h
Go to the documentation of this file.
1 
18 #ifndef ION_PROFILE_TIMELINESCOPE_H_
19 #define ION_PROFILE_TIMELINESCOPE_H_
20 
21 #include <string>
22 
23 #include "base/integral_types.h"
25 #include "third_party/jsoncpp/include/json/value.h"
26 
29 class TimelineScope : public TimelineEvent {
30  public:
31  TimelineScope(const std::string& name, uint32 begin, uint32 duration,
32  const Json::Value& args)
33  : TimelineEvent(name, begin, duration, args) {}
34 
35  Type GetType() const override { return Type::kScope; }
36 };
37 
38 #endif // ION_PROFILE_TIMELINESCOPE_H_
Copyright 2016 Google Inc.
Definition: timelinescope.h:29
Type GetType() const override
Definition: timelinescope.h:35
TimelineScope(const std::string &name, uint32 begin, uint32 duration, const Json::Value &args)
Definition: timelinescope.h:31
Copyright 2016 Google Inc.
Definition: timelineevent.h:29
std::string name
Definition: printer.cc:324