Changeset bc73be3 in mainline for uspace/lib/cpp/include/__bits/chrono.hpp
- Timestamp:
- 2019-06-27T08:51:20Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8add15e0
- Parents:
- ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/cpp/include/__bits/chrono.hpp
rad40b74b rbc73be3 611 611 static time_point now() 612 612 { 613 hel::timespec ts{};614 hel::getrealtime(&ts);613 ::std::timespec ts{}; 614 ::helenos::getrealtime(&ts); 615 615 616 616 rep time = NSEC2USEC(ts.tv_nsec); … … 654 654 static time_point now() 655 655 { 656 hel::timespec ts{};657 hel::getuptime(&ts);656 ::std::timespec ts{}; 657 ::helenos::getuptime(&ts); 658 658 659 659 rep time = NSEC2USEC(ts.tv_nsec);
Note:
See TracChangeset
for help on using the changeset viewer.