FUNCTION::MSECS\_TO\_S(3stap) Task Time Tapset FUNCTION::MSECS\_TO\_S(3stap)

# [NAME](#NAME)

function::msecs\_to\_string - Human readable string for given milliseconds

# [SYNOPSIS](#SYNOPSIS)

```


    msecs_to_string:string(msecs:long)
```

# [ARGUMENTS](#ARGUMENTS)

*msecs*

Number of milliseconds to translate.

# [DESCRIPTION](#DESCRIPTION)

Returns a string representing the number of milliseconds as a human readable string consisting of “XmY.ZZZs”, where X is the number of minutes, Y is the number of seconds and ZZZ is the number of milliseconds.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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