Skip to content

Add Lock support for Tracy#24

Draft
ccp-chargeback wants to merge 12 commits into
carbonengine:mainfrom
ccp-chargeback:tracy_locks_testclient
Draft

Add Lock support for Tracy#24
ccp-chargeback wants to merge 12 commits into
carbonengine:mainfrom
ccp-chargeback:tracy_locks_testclient

Conversation

@ccp-chargeback

Copy link
Copy Markdown
Contributor

Change includes:

  • Adding support for Locks in the TracyTestClient (with help from Claude)
  • Gate access to Locks in Tracy based on telemetry config flag
  • Changing CcpMutex to inform Tracy of Locks
  • Add support of "lazy announce" of locks in Tracy, once telemetry is connected.

Contains:
- Added support for Locks in the TracyTestClient.
- Updates to CcpMutex
- First draft of tests for low-level Tracy lock functions.
- First draft of tests for tests on CcpMutex/CcpAutoMutex classes.
Review of classes TracyTestClient and test/CcpTelemetry
This tests the vanilla behavior of the raw underlying TracyCLockXXX() functions.
Following tests removed:
- RawTracyLockCAnnounceAndTerminate
- RawTracyUncontendedLock
This is needed because the CcpMutex objects may have been created long before Tracy on-demand telemetry session started.
…tclient

# Conflicts:
#	tests/TracyTestClient.cpp
#	tests/TracyTestClient.h
Make use of types from the tracy header files:
- tracy::ServerQueryString
- tracy::ServerQuerySourceLocation
- tracy::QueueType::StringData
- tracy::QueueType::SingleStringData
- tracy::QueueType::LockAnnounce
- tracy::QueueType::LockTerminate
- tracy::QueueType::LockWait
- tracy::QueueType::LockObtain
- tracy::QueueType::LockRelease
- tracy::QueueType::LockName
- tracy::QueueType::SourceLocation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant