FUNCTION::CPUTIME\_TO(3stap) Task Time Tapset FUNCTION::CPUTIME\_TO(3stap)

# [NAME](#NAME)

function::cputime\_to\_string - Human readable string for given cputime

# [SYNOPSIS](#SYNOPSIS)

```


    cputime_to_string:string(cputime:long)
```

# [ARGUMENTS](#ARGUMENTS)

*cputime*

Time to translate.

# [DESCRIPTION](#DESCRIPTION)

Equivalent to calling: msec\_to\_string (cputime\_to\_msecs (cputime).

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::task\_time*(3stap)](/man/enterprise-packages/systemtap/tapset::task_time.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::cputime_to_string(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
