wavelength 1.0.0
Loading...
Searching...
No Matches
snprofil.h
Go to the documentation of this file.
1#pragma once
2
7
9constexpr unsigned int kSnProfilRpcServer = 0x12345677;
10
12constexpr int kProfileHeaderSize = 0x80;
13
15constexpr int kProfileSamplesSize = 0x8000;
16
19 unsigned char header[kProfileHeaderSize];
21};
22
30
39extern "C" int start(int argc, char **argv);
constexpr int kProfileHeaderSize
Size of ProfileBuffer::header.
Definition snprofil.h:12
constexpr int kProfileSamplesSize
Size of ProfileBuffer::samples.
Definition snprofil.h:15
int start(int argc, char **argv)
Module entry.
constexpr unsigned int kSnProfilRpcServer
The SNProfil module serves a profiling buffer to the EE through a SIF RPC server.
Definition snprofil.h:9
Reply to every request.
Definition snprofil.h:24
int samplesSize
Definition snprofil.h:28
int headerSize
Definition snprofil.h:26
ProfileBuffer * buffer
Definition snprofil.h:25
unsigned char * samples
Definition snprofil.h:27
The profiling buffer.
Definition snprofil.h:18
unsigned char samples[kProfileSamplesSize]
Definition snprofil.h:20
unsigned char header[kProfileHeaderSize]
Definition snprofil.h:19