libintrovirt v0.57.4
IntroVirt introspection library
Loading...
Searching...
No Matches
introvirt::windows::nt::NtQueryPerformanceCounter Class Referenceabstract

Handler class for the NtQueryPerformanceCounter system call. More...

#include <NtQueryPerformanceCounter.hh>

Inheritance diagram for introvirt::windows::nt::NtQueryPerformanceCounter:
Collaboration diagram for introvirt::windows::nt::NtQueryPerformanceCounter:

Public Member Functions

virtual guest_ptr< void > PerformanceCounterPtr () const =0
 Getter for PerformanceCounterPtr.
 
virtual guest_ptr< void > PerformanceFrequencyPtr () const =0
 Getter for PerformanceFrequencyPtr.
 
virtual void PerformanceCounterPtr (const guest_ptr< void > &pPerformanceCounter)=0
 Setter for PerformanceCounterPtr.
 
virtual void PerformanceFrequencyPtr (const guest_ptr< void > &pPerformanceFrequency)=0
 Setter for PerformanceFrequencyPtr.
 
virtual int64_t PerformanceCounter () const =0
 
virtual void PerformanceCounter (int64_t PerformanceCounter)=0
 
virtual int64_t PerformanceFrequency () const =0
 
virtual void PerformanceFrequency (int64_t PerformanceFrequency)=0
 
- Public Member Functions inherited from introvirt::windows::nt::NtSystemCall
virtual NTSTATUS result () const =0
 Get the result code.
 
virtual void result (NTSTATUS_CODE code)=0
 Set the result code.
 
- Public Member Functions inherited from introvirt::windows::WindowsSystemCall
virtual SystemCallIndex index () const =0
 Get the system call number.
 
- Public Member Functions inherited from introvirt::SystemCall
virtual const std::string & name () const =0
 Get the name of the system call.
 
virtual void write (std::ostream &os=std::cout) const =0
 Write a human-readable description of this system call.
 
virtual Json::Value json () const =0
 
virtual bool will_return () const =0
 
virtual void data (const std::string &key, const std::shared_ptr< void > &value)=0
 Store arbitrary data with the SystemCall.
 
virtual void data (const std::string &key, std::shared_ptr< void > &&value)=0
 Store arbitrary data with the SystemCall.
 
virtual std::shared_ptr< void > data (const std::string &key)=0
 Retrieve arbitrary data stored with the SystemCall.
 
virtual std::shared_ptr< const void > data (const std::string &key) const =0
 Retrieve arbitrary data stored with the SystemCall.
 
virtual bool supported () const =0
 Check if this system call is supported by a more specific handler.
 
virtual void handle_return_event (Event &event)=0
 Handle a system call return event.
 
virtual ~SystemCall ()=default
 Destroy the instance.
 

Static Public Member Functions

static NTSTATUS inject (int64_t &PerformanceCounter, int64_t *PerformanceFrequency)
 

Detailed Description

Handler class for the NtQueryPerformanceCounter system call.

Member Function Documentation

◆ inject()

static NTSTATUS introvirt::windows::nt::NtQueryPerformanceCounter::inject ( int64_t &  PerformanceCounter,
int64_t *  PerformanceFrequency 
)
static

◆ PerformanceCounter() [1/2]

virtual int64_t introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceCounter ( ) const
pure virtual

◆ PerformanceCounter() [2/2]

virtual void introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceCounter ( int64_t  PerformanceCounter)
pure virtual

◆ PerformanceCounterPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceCounterPtr ( ) const
pure virtual

Getter for PerformanceCounterPtr.

Returns
The address pointed to by the the PerformanceCounterPtr parameter

◆ PerformanceCounterPtr() [2/2]

virtual void introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceCounterPtr ( const guest_ptr< void > &  pPerformanceCounter)
pure virtual

Setter for PerformanceCounterPtr.

Parameters
pPerformanceCounterThe address to set for the PerformanceCounterPtr parameter

◆ PerformanceFrequency() [1/2]

virtual int64_t introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceFrequency ( ) const
pure virtual

◆ PerformanceFrequency() [2/2]

virtual void introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceFrequency ( int64_t  PerformanceFrequency)
pure virtual

◆ PerformanceFrequencyPtr() [1/2]

virtual guest_ptr< void > introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceFrequencyPtr ( ) const
pure virtual

Getter for PerformanceFrequencyPtr.

Returns
The address pointed to by the the PerformanceFrequencyPtr parameter

◆ PerformanceFrequencyPtr() [2/2]

virtual void introvirt::windows::nt::NtQueryPerformanceCounter::PerformanceFrequencyPtr ( const guest_ptr< void > &  pPerformanceFrequency)
pure virtual

Setter for PerformanceFrequencyPtr.

Parameters
pPerformanceFrequencyThe address to set for the PerformanceFrequencyPtr parameter

The documentation for this class was generated from the following file: