File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 3131static bool zero_page_read_protected () { return true ; }
3232
3333class Linux {
34- friend class CgroupSubsystem ;
3534 friend class os ;
36- friend class OSContainer ;
3735 friend class TestReserveMemorySpecial ;
3836
3937 static int (*_pthread_getcpuclockid)(pthread_t , clockid_t *);
@@ -57,7 +55,6 @@ class Linux {
5755 static int _page_size;
5856
5957 static julong available_memory ();
60- static int active_processor_count ();
6158
6259 static void initialize_system_info ();
6360
@@ -107,6 +104,7 @@ class Linux {
107104 bool has_steal_ticks;
108105 };
109106
107+ static int active_processor_count ();
110108 // which_logical_cpu=-1 returns accumulated ticks for all cpus.
111109 static bool get_tick_information (CPUPerfTicks* pticks, int which_logical_cpu);
112110 static bool _stack_is_executable;
You can’t perform that action at this time.
0 commit comments