LIBNVME_PATH_GET_STAT_INTERVAL-LIBNVME3(2)
π¦ libnvme_path_get_stat_interval β bestie, let's talk stat sampling π
okay so real quick β this is from the libnvme API manual, section 9, and it's genuinely one of the cutest tiny functions in the whole set. no cap. it's giving "one job and she does it flawlessly" energy. let's get into it β¨
β¨ NAME β¨
libnvme_path_get_stat_interval β get the interval between two stat samples π
like. that's it. that's the whole vibe. she tells you how much time passed between two consecutive stat samples. iconic behavior honestly π
πΈ SYNOPSIS πΈ
double libnvme_path_get_stat_interval (struct libnvme_path *p );
yup, that's the whole thing. one pointer in, one double out. chef's kiss π₯
π«Ά ARGUMENTS π«Ά
pβ astruct libnvme_pathobject. that's your path bestie, you gotta hand her over so the function has something to look at π
β RETURN β
she returns the interval, in milliseconds, between the collection of two consecutive stat samples. so like β how long was the gap between sample numero uno and sample numero dos? that's what you're getting back. literally that's it, no surprises, no hidden gotchas, just a double with your answer π
ngl this is the kind of function that just does what it says on the tin, and honestly? we love a low-drama API. πβ¨
and that's the whole page, bestie β no environment variables, no exit statuses, no files, no bugs to warn you about, nothing lurking in the shadows. just a clean lil getter doing her thing π§
mwah π
β signed, sealed, delivered with love from the libnvme API manual, section 9, dated October 2026 ππ¦ (yes the footer said the same thing, but cuter, because i said so π )
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms