我正在阅读thisexcellentanswer使用滑稽的持续时间单位microfortnights以令人难忘的方式说明一个要点。typedefstd::ratiomicrofortnights;std::chrono::durationtwo_weeks(1000000);我想到了这个问题:IfIreallywantedtodothis(morelikelysomeothernon-trivialdurationsuchasthetimeavailableduringaframe,orduringNcyclesofaprocessor),whatisthebestwaytodothi
我正在阅读thisexcellentanswer使用滑稽的持续时间单位microfortnights以令人难忘的方式说明一个要点。typedefstd::ratiomicrofortnights;std::chrono::durationtwo_weeks(1000000);我想到了这个问题:IfIreallywantedtodothis(morelikelysomeothernon-trivialdurationsuchasthetimeavailableduringaframe,orduringNcyclesofaprocessor),whatisthebestwaytodothi