mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-30 14:04:55 +00:00
Update pm4_cmds.h
This commit is contained in:
parent
963c7e56de
commit
ae8baff64c
@ -312,13 +312,6 @@ struct PM4CmdEventWriteEop {
|
|||||||
return data_lo | u64(data_hi) << 32;
|
return data_lo | u64(data_hi) << 32;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t GetGpuClock64() const {
|
|
||||||
auto now = std::chrono::high_resolution_clock::now();
|
|
||||||
auto duration = now.time_since_epoch();
|
|
||||||
auto ticks = std::chrono::duration_cast<std::chrono::nanoseconds>(duration).count();
|
|
||||||
return static_cast<uint64_t>(ticks);
|
|
||||||
}
|
|
||||||
|
|
||||||
void SignalFence() const {
|
void SignalFence() const {
|
||||||
switch (data_sel.Value()) {
|
switch (data_sel.Value()) {
|
||||||
case DataSelect::None: {
|
case DataSelect::None: {
|
||||||
|
Loading…
Reference in New Issue
Block a user