Changeset cdbab55 for tests/time.c
- Timestamp:
- Aug 21, 2018, 2:24:29 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 2a6292d
- Parents:
- 2b79a70 (diff), efa8b6a (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 moved
-
tests/time.c (moved) (moved from src/tests/time.c ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/time.c
r2b79a70 rcdbab55 1 // 1 // 2 2 // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo 3 3 // 4 4 // The contents of this file are covered under the licence agreement in the 5 5 // file "LICENCE" distributed with Cforall. 6 // 7 // time.c -- 8 // 6 // 7 // time.c -- 8 // 9 9 // Author : Peter A. Buhr 10 10 // Created On : Tue Mar 27 17:24:56 2018 … … 12 12 // Last Modified On : Fri Apr 6 11:27:23 2018 13 13 // Update Count : 16 14 // 14 // 15 15 16 #include "time "17 #include <fstream >16 #include "time.hfa" 17 #include <fstream.hfa> 18 18 19 19 int main() { 20 Duration d1 = 3`h, d2 = 2`s, d3 = 3. 07`s, d4 = 12`s, d5 = 1`s + 10_000`ns;20 Duration d1 = 3`h, d2 = 2`s, d3 = 3.375`s, d4 = 12`s, d5 = 1`s + 10_000`ns; 21 21 sout | d1 | d2 | d3 | d4 | d5 | endl; 22 22 int i;
Note:
See TracChangeset
for help on using the changeset viewer.