GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — async-profiler/src/j9WallClock.h at jonoffcpu-dev · jonoffcpu/async-profiler

Expand file tree

/

j9WallClock.h

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
49 lines (36 loc) · 806 Bytes
/

j9WallClock.h

Copy path

File metadata and controls

49 lines (36 loc) · 806 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* Copyright The async-profiler authors
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _J9WALLCLOCK_H
#define _J9WALLCLOCK_H
#include <pthread.h>
#include "engine.h"
class J9WallClock : public Engine {
private:
static long _interval;
int _max_stack_depth;
volatile bool _running;
pthread_t _thread;
static void* threadEntry(void* wall_clock) {
((J9WallClock*)wall_clock)->timerLoop();
return NULL;
}
void timerLoop();
public:
const char* type() {
return "j9_wall";
}
const char* title() {
return "Wall clock profile";
}
const char* units() {
return "ns";
}
long interval() {
return _interval;
}
Error start(Arguments& args);
void stop();
};
#endif // _J9WALLCLOCK_H
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.