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

Side by Side Diff: src/platform.h

Issue 14238007: Unify Sampler implementation across platforms using signals to suspend thread (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed empty line Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/log.h ('k') | src/sampler.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 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 #endif // _MSC_VER 92 #endif // _MSC_VER
93 93
94 // Random is missing on both Visual Studio and MinGW. 94 // Random is missing on both Visual Studio and MinGW.
95 int random(); 95 int random();
96 96
97 #endif // WIN32 97 #endif // WIN32
98 98
99 #include "atomicops.h" 99 #include "atomicops.h"
100 #include "lazy-instance.h" 100 #include "lazy-instance.h"
101 #include "platform-tls.h" 101 #include "platform-tls.h"
102 #include "sampler.h"
103 #include "utils.h" 102 #include "utils.h"
104 #include "v8globals.h" 103 #include "v8globals.h"
105 104
106 namespace v8 { 105 namespace v8 {
107 namespace internal { 106 namespace internal {
108 107
109 class Semaphore; 108 class Semaphore;
110 class Mutex; 109 class Mutex;
111 110
112 double ceiling(double x); 111 double ceiling(double x);
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 static uint16_t HToN(uint16_t value); 715 static uint16_t HToN(uint16_t value);
717 static uint16_t NToH(uint16_t value); 716 static uint16_t NToH(uint16_t value);
718 static uint32_t HToN(uint32_t value); 717 static uint32_t HToN(uint32_t value);
719 static uint32_t NToH(uint32_t value); 718 static uint32_t NToH(uint32_t value);
720 }; 719 };
721 720
722 721
723 } } // namespace v8::internal 722 } } // namespace v8::internal
724 723
725 #endif // V8_PLATFORM_H_ 724 #endif // V8_PLATFORM_H_
OLDNEW
« no previous file with comments | « src/log.h ('k') | src/sampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698