kms: Add tracy profiling
This commit is contained in:
parent
5672e0399d
commit
d1e0e28d3c
5 changed files with 109 additions and 12 deletions
|
|
@ -127,9 +127,9 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||
logger::init_logger()?;
|
||||
info!("Cosmic starting up!");
|
||||
|
||||
#[cfg(feature = "profile-with-tracy")]
|
||||
profiling::tracy_client::Client::start();
|
||||
profiling::register_thread!("Main Thread");
|
||||
#[cfg(feature = "profile-with-tracy")]
|
||||
tracy_client::Client::start();
|
||||
|
||||
utils::rlimit::increase_nofile_limit();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue