diff options
author | Tom Cherry <tomcherry@google.com> | 2017-07-06 14:20:11 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2017-07-10 09:28:24 -0700 |
commit | ede0d538501dfc78c741fb3b0645406636d1d1fd (patch) | |
tree | 8b00e4bc64471d59a20d762345683721b0214e62 /init/util.cpp | |
parent | c31963b5c255d57e162f4666f80b438ac74413ac (diff) | |
download | system_core-ede0d538501dfc78c741fb3b0645406636d1d1fd.tar.gz system_core-ede0d538501dfc78c741fb3b0645406636d1d1fd.tar.bz2 system_core-ede0d538501dfc78c741fb3b0645406636d1d1fd.zip |
Move Timer from init to libbase
Test: boot bullhead
Test: new libbase unit tests
Change-Id: Ic398a1daa1fe92c10ea7bc1e6ac3f781cee9a5b5
Diffstat (limited to 'init/util.cpp')
-rw-r--r-- | init/util.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/init/util.cpp b/init/util.cpp index 479179e41..2792794c5 100644 --- a/init/util.cpp +++ b/init/util.cpp @@ -374,11 +374,6 @@ void panic() { DoReboot(ANDROID_RB_RESTART2, "reboot", "bootloader", false); } -std::ostream& operator<<(std::ostream& os, const Timer& t) { - os << t.duration_s() << " seconds"; - return os; -} - // Reads the content of device tree file under kAndroidDtDir directory. // Returns true if the read is success, false otherwise. bool read_android_dt_file(const std::string& sub_path, std::string* dt_content) { |