OSDN Git Service
(root)
/
shogi-server
/
shogi-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added building blocks to test an issue where mtime of log files is earlier that syste...
[shogi-server/shogi-server.git]
/
sample
/
check_time.rb
diff --git a/sample/check_time.rb
b/sample/check_time.rb
new file mode 100644
(file)
index 0000000..
a35c4c0
--- /dev/null
+++ b/
sample/check_time.rb
@@ -0,0
+1,8
@@
+100000.times do
+ now1=Time.now
+ now2=Time.now
+ if ((now2-now1)<0)
+ puts "now1: %d.%d" % [now1.sec, now1.usec]
+ puts "now2: %d.%d" % [now2.sec, now1.usec]
+ end
+end