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

Side by Side Diff: src/platform-nullos.cc

Issue 23295034: Add Chromium-style TimeDelta, Time and TimeTicks classes, and a new ElapsedTimer class. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix windows build. Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 107
108 // Returns current time as the number of milliseconds since 108 // Returns current time as the number of milliseconds since
109 // 00:00:00 UTC, January 1, 1970. 109 // 00:00:00 UTC, January 1, 1970.
110 double OS::TimeCurrentMillis() { 110 double OS::TimeCurrentMillis() {
111 UNIMPLEMENTED(); 111 UNIMPLEMENTED();
112 return 0; 112 return 0;
113 } 113 }
114 114
115 115
116 // Returns ticks in microsecond resolution.
117 int64_t OS::Ticks() {
118 UNIMPLEMENTED();
119 return 0;
120 }
121
122
123 // Returns a string identifying the current timezone taking into 116 // Returns a string identifying the current timezone taking into
124 // account daylight saving. 117 // account daylight saving.
125 const char* OS::LocalTimezone(double time) { 118 const char* OS::LocalTimezone(double time) {
126 UNIMPLEMENTED(); 119 UNIMPLEMENTED();
127 return "<none>"; 120 return "<none>";
128 } 121 }
129 122
130 123
131 // Returns the daylight savings offset in milliseconds for the given time. 124 // Returns the daylight savings offset in milliseconds for the given time.
132 double OS::DaylightSavingsOffset(double time) { 125 double OS::DaylightSavingsOffset(double time) {
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 UNIMPLEMENTED(); 542 UNIMPLEMENTED();
550 } 543 }
551 544
552 545
553 void ProfileSampler::Stop() { 546 void ProfileSampler::Stop() {
554 UNIMPLEMENTED(); 547 UNIMPLEMENTED();
555 } 548 }
556 549
557 550
558 } } // namespace v8::internal 551 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-openbsd.cc » ('j') | src/time/elapsed-timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698