Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3238)

Unified Diff: snapshot/win/process_snapshot_win.cc

Issue 1119393003: win: Add support for CPUTimes and StartTime to snapshot (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@generate-dump
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: snapshot/win/process_snapshot_win.cc
diff --git a/snapshot/win/process_snapshot_win.cc b/snapshot/win/process_snapshot_win.cc
index cf609610953bd68255ecc3f7eaa1116c1de42bdb..abdb13dec4d116c4f8ca824f56df17447a3040c5 100644
--- a/snapshot/win/process_snapshot_win.cc
+++ b/snapshot/win/process_snapshot_win.cc
@@ -99,12 +99,12 @@ void ProcessSnapshotWin::SnapshotTime(timeval* snapshot_time) const {
}
void ProcessSnapshotWin::ProcessStartTime(timeval* start_time) const {
- CHECK(false) << "TODO(scottmg)";
+ process_reader_.StartTime(start_time);
Mark Mentovai 2015/05/04 21:29:24 INITIALIZATION_STATE_DCHECK_VALID(initialized_); h
scottmg 2015/05/05 16:45:48 Done.
}
void ProcessSnapshotWin::ProcessCPUTimes(timeval* user_time,
timeval* system_time) const {
- CHECK(false) << "TODO(scottmg)";
+ process_reader_.CPUTimes(user_time, system_time);
}
void ProcessSnapshotWin::ReportID(UUID* report_id) const {

Powered by Google App Engine
This is Rietveld 408576698