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

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

Issue 3118013: Add last OS error into heap stats. (Closed)
Patch Set: rename errno to os_error Created 10 years, 4 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
« no previous file with comments | « src/platform.h ('k') | src/platform-posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 } 93 }
94 94
95 95
96 // Returns the daylight savings offset in milliseconds for the given time. 96 // Returns the daylight savings offset in milliseconds for the given time.
97 double OS::DaylightSavingsOffset(double time) { 97 double OS::DaylightSavingsOffset(double time) {
98 UNIMPLEMENTED(); 98 UNIMPLEMENTED();
99 return 0; 99 return 0;
100 } 100 }
101 101
102 102
103 int OS::GetLastError() {
104 UNIMPLEMENTED();
105 return 0;
106 }
107
108
103 // Returns the local time offset in milliseconds east of UTC without 109 // Returns the local time offset in milliseconds east of UTC without
104 // taking daylight savings time into account. 110 // taking daylight savings time into account.
105 double OS::LocalTimeOffset() { 111 double OS::LocalTimeOffset() {
106 UNIMPLEMENTED(); 112 UNIMPLEMENTED();
107 return 0; 113 return 0;
108 } 114 }
109 115
110 116
111 // Print (debug) message to console. 117 // Print (debug) message to console.
112 void OS::Print(const char* format, ...) { 118 void OS::Print(const char* format, ...) {
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 } 451 }
446 452
447 453
448 void ProfileSampler::Stop() { 454 void ProfileSampler::Stop() {
449 UNIMPLEMENTED(); 455 UNIMPLEMENTED();
450 } 456 }
451 457
452 #endif // ENABLE_LOGGING_AND_PROFILING 458 #endif // ENABLE_LOGGING_AND_PROFILING
453 459
454 } } // namespace v8::internal 460 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform.h ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698