lis_wtime(3f)
๐ lis_wtime(3f) โ bestie edition ๐
okay so you're deep in the Lis Library Functions manual, and this little cutie is called lis_wtime. she does ONE job and she does it flawlessly, no cap. โจ
๐ธ NAME ๐ธ
lis_wtime โ measure the elapsed time โฑ๏ธ๐
๐ SYNOPSIS ๐
subroutine lis_wtime(LIS_INT* argc, char** argv[], LIS_INTEGER ierr);
like. that's the whole thing. she's serving minimalism. ๐
๐ฆ DESCRIPTION ๐ฆ
Measure the elapsed time. ๐ฐ๏ธโจ
that's it. that's the girl. no drama, no extra lore, just time being measured fr fr.
๐ INPUT ๐
None ๐
literally nothing. she needs zero input. she's self-sufficient. main character energy only. ๐ซถ
โญ OUTPUT โญ
The elapsed time in seconds from the given point is returned as the double precision number ๐ฅ
so you get your seconds back, in double precision, counting from whatever point you decided to start at. periodt. ๐
๐ NOTE ๐
okay bestie listen up because this is the whole vibe check of the function ๐
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. ๐งฎโจ
so like:
- call
lis_wtimeโ that's your starting time ๐ฑ - do the thing you wanted to time ๐โ๏ธ
- call
lis_wtimeagain โ that's your ending time ๐ - subtract. boom. that's your processing time. ๐
she doesn't do the subtraction for you, bestie. that part is on you. iykyk ๐
๐ SEE ALSO ๐
lis(3)โ the whole Lis family, go say hi ๐- http://www.ssisc.org/lis/ โ the official site, iconic โจ
okay that's the page!! ๐ฅณ written up as a Man Page on 6 Sep 2012, from the lis_wtime(3f) era of the Lis Library Functions docs โ ancient but still slaying. hope this helped bestie, go measure some time ๐ฐ๏ธ๐โจ๐ฆ
๐ฆ 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