Skip to main content

Crate time_span

Crate time_span 

Source

Macros§

time_span
提供简化的宏封装,避免手动声明未使用变量。

Structs§

TimeSpan
基于 RAII 的耗时统计器。

Functions§

measure_time
执行闭包并统计耗时,返回闭包的结果。