Home | History | Annotate | Download | only in performance_monitor

Lines Matching defs:Database

53 // Stores information about when there is data in the database. When the
54 // database is constructed, the time is noted as the start of the active
56 // of the current active interval. If the database has no write operations for
57 // a certain amount of time, then the database is considered inactive for that
74 // Stores the most recent metric statistics to go into the database. There is
76 // in-memory version of this database with a mapping from a concatenation of
79 // database becomes useful when it is necessary to find all the active metrics
86 // Stores the max metric statistics that have been inserted into the database.
88 // keeps an in-memory version of this database with a mapping from a
99 class Database {
109 // The class that the database will use to infer time. Abstracting out the
118 virtual ~Database();
120 static scoped_ptr<Database> Create(base::FilePath path);
128 // Add an event to the database.
131 // Retrieve the events from the database. These methods populate the provided
155 // Add a metric instance to the database.
244 // By default, the database uses a clock that simply returns the current time.
252 explicit Database(const base::FilePath& path);
256 // Attempts to open a database, and tries to fix it if it is corrupt or
258 // database on success, or NULL on failure.
271 // Mark the database as being active for the current time.
294 // The last time the database had a transaction.
314 // Indicates whether or not the database successfully initialized. If false,
318 DISALLOW_COPY_AND_ASSIGN(Database);