Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
s7nfo committed Jul 5, 2024
1 parent 8283f58 commit fb9f27d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ruby/lib/collector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ module CirronInterOp
end

class Counter < FFI::Struct
layout :time_enabled_ns, :long_double,
:instruction_count, :long_double,
:branch_misses, :long_double,
:page_faults, :long_double
layout :time_enabled_ns, :double,
:instruction_count, :double,
:branch_misses, :double,
:page_faults, :double
end

module Cirron
Expand Down
1 change: 0 additions & 1 deletion ruby/tests/tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ def test_tracer
sleep 0.1
end

puts t
assert_equal 3, t.size
end

Expand Down

0 comments on commit fb9f27d

Please sign in to comment.