chore(unitproc):timeEpochNS:Rename timeNanosec -> timeEpochNS
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Tue, 7 Jul 2020 02:36:39 +0000 (02:36 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Tue, 7 Jul 2020 02:36:39 +0000 (02:36 +0000)
unitproc/bktemp-timeEpochNS [moved from unitproc/bktemp-timeNanosec with 85% similarity]

similarity index 85%
rename from unitproc/bktemp-timeNanosec
rename to unitproc/bktemp-timeEpochNS
index 1fe077f41af24a8f22e2d7f8102b9f2a91803dac..8c0fb080273229a7c75c87ea7d7024b024482931 100644 (file)
@@ -1,8 +1,9 @@
 #!/bin/bash
 # Desc: Get timestamp in nanoseconds
 
 #!/bin/bash
 # Desc: Get timestamp in nanoseconds
 
-timeNanosec() {
+timeEpochNS() {
     # Desc: Get epoch nanoseconds
     # Desc: Get epoch nanoseconds
+    # Usage: timeEpochNS
     # Version 0.1.2
     # Input: (none)
     # Output: Nanoseconds since 1970-01-01
     # Version 0.1.2
     # Input: (none)
     # Output: Nanoseconds since 1970-01-01
@@ -16,7 +17,7 @@ timeNanosec() {
 } # Nanoseconds since 1970-01-01
 
 #==BEGIN sample code==
 } # Nanoseconds since 1970-01-01
 
 #==BEGIN sample code==
-echo "It's been $(timeNanosec) nanoseconds since 1970-01-01.";
+echo "It's been $(timeEpochNS) nanoseconds since 1970-01-01.";
 #==END sample code==
 
 # Author: Steven Baltakatei Sandoval
 #==END sample code==
 
 # Author: Steven Baltakatei Sandoval