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

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

Issue 10961042: Implement committed physical memory stats for Linux. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressing comments. Created 8 years, 2 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
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-openbsd.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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 return false; 328 return false;
329 } 329 }
330 330
331 331
332 bool VirtualMemory::Guard(void* address) { 332 bool VirtualMemory::Guard(void* address) {
333 UNIMPLEMENTED(); 333 UNIMPLEMENTED();
334 return false; 334 return false;
335 } 335 }
336 336
337 337
338 bool VirtualMemory::CommittedPhysicalSizeInRegion(
339 void* base, size_t size, size_t* physical) {
340 // TODO(alph): implement for the platform.
341 return false;
342 }
343
344
338 class Thread::PlatformData : public Malloced { 345 class Thread::PlatformData : public Malloced {
339 public: 346 public:
340 PlatformData() { 347 PlatformData() {
341 UNIMPLEMENTED(); 348 UNIMPLEMENTED();
342 } 349 }
343 350
344 void* pd_data_; 351 void* pd_data_;
345 }; 352 };
346 353
347 354
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 UNIMPLEMENTED(); 504 UNIMPLEMENTED();
498 } 505 }
499 506
500 507
501 void ProfileSampler::Stop() { 508 void ProfileSampler::Stop() {
502 UNIMPLEMENTED(); 509 UNIMPLEMENTED();
503 } 510 }
504 511
505 512
506 } } // namespace v8::internal 513 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/platform-macos.cc ('k') | src/platform-openbsd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698