# How do you profile a certain bit of a GNU Guile program while it is running?

**URL:** <https://forum.systemcrafters.net/t/how-do-you-profile-a-certain-bit-of-a-gnu-guile-program-while-it-is-running/1715>\
**Category:** General\
**Created:** [July 12, 2025, 10:48pm UTC](https://forum.systemcrafters.net/t/how-do-you-profile-a-certain-bit-of-a-gnu-guile-program-while-it-is-running/1715 "2025-07-12T22:48:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cow\_2001](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.systemcrafters.net/cow_2001/32/598_2.png) [@cow\_2001](https://forum.systemcrafters.net/u/cow_2001)\
**Post date:** [July 12, 2025, 10:48pm UTC](https://forum.systemcrafters.net/t/how-do-you-profile-a-certain-bit-of-a-gnu-guile-program-while-it-is-running/1715/1 "2025-07-12T22:48:30Z")

</div>

I want to profile a certain part of a program while it is running. What do I have to add to the code in order to do that?

Let’s say I have a bunch of procedures, all running at a certain point in the program, but I only want to profile a particular procedure.

Thank you.
