[−][src]Function transmission_sys::tr_torrentStatCached
pub unsafe extern "C" fn tr_torrentStatCached(
torrent: *mut tr_torrent
) -> *const tr_stat
Like tr_torrentStat(), but only recalculates the statistics if it's been longer than a second since they were last calculated. This can reduce the CPU load if you're calling tr_torrentStat() frequently.