lis_wtime(3)
π lis_wtime(3) β the "how long did that take??" timer π
okay bestie, so this is a page from the Lis Library Functions manual β yes, the whole squad of lis library functions β and this one is literally just a stopwatch. It's giving "not me checking my screen time but for code". β¨
πΈ NAME πΈ
lis_wtime β measure the elapsed time β±οΈ
β¨ SYNOPSIS β¨
#include "lis.h"
LIS_INT lis_wtime(LIS_INT* argc, char** argv[]);
π¦ DESCRIPTION π¦
Measure the elapsed time. That's it, that's the whole vibe. π
π INPUT π
None. Nothing. Zero. Nada. It takes no input, she's self-sufficient, main character energy fr fr. π
π OUTPUT π
The elapsed time in seconds from the given point is returned as the double precision number. So like, you get a number back, and that number is seconds, and it's a double precision number. Iconic. π
π EXIT STATUS π
Here's what you can get back, bestie:
0β The process is normally terminated β- unspecified β An error occurred π
π NOTE π
To measure the processing time, call lis_wtime to get the starting time, call it again to get the ending time, and calculate the difference. Two calls and a subtraction. That's the whole recipe, no cap. π«Ά
Not me explaining this like it's rocket science when it's literally just... start, stop, subtract. But listen, knowing that is the whole point. iykyk. π
β SEE ALSO β
lis(3)β the rest of the squad is in here π- http://www.ssisc.org/lis/ π
and that's the tea, bestie π¦ β this page came from the Lis Library Functions manual, dated 6 Sep 2012, and yeah, it's the lis_wtime(3) page. Go time some stuff. Periodt. π
β¨π
π¦ where this page comes from
- fedora 43: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 43: lis-doc 2.1.11-1.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: lis-doc 2.0.21-13.fc41 Β· BSD
- fedora 44: lis-doc 2.1.11-1.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: lis 2.1.10
- nixpkgs unstable: lis 2.1.16
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms