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

Side by Side Diff: src/base/cpu.h

Issue 1977983003: [base] Implement CPU time on Windows. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/base/cpu.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-2013 the V8 project authors. All rights reserved. 1 // Copyright 2006-2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This module contains the architecture-specific code. This make the rest of 5 // This module contains the architecture-specific code. This make the rest of
6 // the code less dependent on differences between different processor 6 // the code less dependent on differences between different processor
7 // architecture. 7 // architecture.
8 // The classes have the same definition for all architectures. The 8 // The classes have the same definition for all architectures. The
9 // implementation for a particular architecture is put in cpu_<arch>.cc. 9 // implementation for a particular architecture is put in cpu_<arch>.cc.
10 // The build system then uses the implementation for the target architecture. 10 // The build system then uses the implementation for the target architecture.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 bool has_sse41() const { return has_sse41_; } 90 bool has_sse41() const { return has_sse41_; }
91 bool has_sse42() const { return has_sse42_; } 91 bool has_sse42() const { return has_sse42_; }
92 bool has_osxsave() const { return has_osxsave_; } 92 bool has_osxsave() const { return has_osxsave_; }
93 bool has_avx() const { return has_avx_; } 93 bool has_avx() const { return has_avx_; }
94 bool has_fma3() const { return has_fma3_; } 94 bool has_fma3() const { return has_fma3_; }
95 bool has_bmi1() const { return has_bmi1_; } 95 bool has_bmi1() const { return has_bmi1_; }
96 bool has_bmi2() const { return has_bmi2_; } 96 bool has_bmi2() const { return has_bmi2_; }
97 bool has_lzcnt() const { return has_lzcnt_; } 97 bool has_lzcnt() const { return has_lzcnt_; }
98 bool has_popcnt() const { return has_popcnt_; } 98 bool has_popcnt() const { return has_popcnt_; }
99 bool is_atom() const { return is_atom_; } 99 bool is_atom() const { return is_atom_; }
100 bool has_non_stop_time_stamp_counter() const {
101 return has_non_stop_time_stamp_counter_;
102 }
100 103
101 // arm features 104 // arm features
102 bool has_idiva() const { return has_idiva_; } 105 bool has_idiva() const { return has_idiva_; }
103 bool has_neon() const { return has_neon_; } 106 bool has_neon() const { return has_neon_; }
104 bool has_thumb2() const { return has_thumb2_; } 107 bool has_thumb2() const { return has_thumb2_; }
105 bool has_vfp() const { return has_vfp_; } 108 bool has_vfp() const { return has_vfp_; }
106 bool has_vfp3() const { return has_vfp3_; } 109 bool has_vfp3() const { return has_vfp3_; }
107 bool has_vfp3_d32() const { return has_vfp3_d32_; } 110 bool has_vfp3_d32() const { return has_vfp3_d32_; }
108 111
109 // mips features 112 // mips features
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 bool has_bmi2_; 144 bool has_bmi2_;
142 bool has_lzcnt_; 145 bool has_lzcnt_;
143 bool has_popcnt_; 146 bool has_popcnt_;
144 bool has_idiva_; 147 bool has_idiva_;
145 bool has_neon_; 148 bool has_neon_;
146 bool has_thumb2_; 149 bool has_thumb2_;
147 bool has_vfp_; 150 bool has_vfp_;
148 bool has_vfp3_; 151 bool has_vfp3_;
149 bool has_vfp3_d32_; 152 bool has_vfp3_d32_;
150 bool is_fp64_mode_; 153 bool is_fp64_mode_;
154 bool has_non_stop_time_stamp_counter_;
151 }; 155 };
152 156
153 } // namespace base 157 } // namespace base
154 } // namespace v8 158 } // namespace v8
155 159
156 #endif // V8_BASE_CPU_H_ 160 #endif // V8_BASE_CPU_H_
OLDNEW
« no previous file with comments | « no previous file | src/base/cpu.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698