Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

feat(measurements): add cpu measurements#188

Merged
JonasBa merged 21 commits intojb/feat/memory-usagefrom
jb/feat/cpu-usage
Aug 29, 2023
Merged

feat(measurements): add cpu measurements#188
JonasBa merged 21 commits intojb/feat/memory-usagefrom
jb/feat/cpu-usage

Conversation

@JonasBa
Copy link
Copy Markdown
Member

@JonasBa JonasBa commented Aug 15, 2023

Repurpose the ticker to collect CPU measurements

CleanShot 2023-08-15 at 16 09 13@2x

@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch from 8de54d5 to 3091bc7 Compare August 15, 2023 20:13
@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch from 3091bc7 to 64ea636 Compare August 16, 2023 14:25
@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch 7 times, most recently from 4ae4b11 to 5e49e11 Compare August 16, 2023 16:13
@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch from 5e49e11 to c9235e0 Compare August 16, 2023 16:19
@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch from af21a8e to e76c35d Compare August 16, 2023 17:12
@JonasBa JonasBa force-pushed the jb/feat/cpu-usage branch from e76c35d to 61ff157 Compare August 16, 2023 17:18
@JonasBa JonasBa merged commit 5e0e785 into jb/feat/memory-usage Aug 29, 2023
@JonasBa JonasBa deleted the jb/feat/cpu-usage branch August 29, 2023 16:28
JonasBa added a commit that referenced this pull request Aug 29, 2023
* feat(profiling): collect heap usage

* fix test type

* fix test type

* fix(profile): dont throw if profile was never started

* fix test type

* fix(include): include functional

* fix: reorder fields

* fix: cast size to uint64_t

* fix: remove time_ref

* ref(review): remove statics

* ref(review): add const return and init without assignment

* feat(measurements): add cpu measurements (#188)

* ref(heapticker): generalize the ticker

* feat(metrics): collect cpu usage

* ref(review): remove statics

* ref(review): remove statics

* ref(cleanup): rename param

* ref(cleanup): free

* test: handle segfault

* test str

* test str

* test str

* test str

* test removing listeners

* explicit init

* explicit init

* test(measurements): add tests

* fix(ticker): adjust count

* fix(ticker): remove segfault handler

* fix(ticker): remove segfault handler

* fix(cpp): remove compiler warning

* fix(cpp): add remove safety so we dont overflow max measurements
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants