Revert "bootstat: Remove custom uptime parser in favor of elapsedRealtime."
This reverts commit 26f40c04c3ad80e2bc449990010d39d1c1b9a5f0.
This change broke the Darwin SDK target.
Test: none
Change-Id: Ia54fe2c31da8d8fa2825e023b035fb8321dcd457
diff --git a/init/service.h b/init/service.h
index 3dc0e53..013e65f 100644
--- a/init/service.h
+++ b/init/service.h
@@ -25,8 +25,6 @@
#include <string>
#include <vector>
-#include <android-base/chrono_utils.h>
-
#include "action.h"
#include "capabilities.h"
#include "descriptors.h"
@@ -137,8 +135,8 @@
unsigned flags_;
pid_t pid_;
- android::base::boot_clock::time_point time_started_; // time of last start
- android::base::boot_clock::time_point time_crashed_; // first crash within inspection window
+ boot_clock::time_point time_started_; // time of last start
+ boot_clock::time_point time_crashed_; // first crash within inspection window
int crash_count_; // number of times crashed within window
uid_t uid_;