benelux 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +5 -1
- data/benelux.gemspec +1 -1
- data/lib/benelux.rb +11 -8
- data/lib/benelux/stats.rb +1 -1
- metadata +1 -1
data/CHANGES.txt
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
BENELUX, CHANGES
|
2
2
|
|
3
|
-
#### 0.5.
|
3
|
+
#### 0.5.10 (2010-03-15) ###############################
|
4
|
+
|
5
|
+
* ADDED: Benelux.reset
|
6
|
+
|
7
|
+
#### 0.5.9 (2010-03-14) ###############################
|
4
8
|
|
5
9
|
* ADDED: Benelux::Stats::Calculator#from_hash
|
6
10
|
* ADDED: Benelux::Stats::Group#sumsq
|
data/benelux.gemspec
CHANGED
data/lib/benelux.rb
CHANGED
@@ -4,7 +4,7 @@ require 'thwait'
|
|
4
4
|
require 'selectable'
|
5
5
|
|
6
6
|
module Benelux
|
7
|
-
VERSION = "0.5.
|
7
|
+
VERSION = "0.5.10"
|
8
8
|
NOTSUPPORTED = [Class, Object, Kernel]
|
9
9
|
|
10
10
|
class BeneluxError < RuntimeError; end
|
@@ -30,13 +30,16 @@ module Benelux
|
|
30
30
|
attr_reader :known_threads
|
31
31
|
end
|
32
32
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
33
|
+
def Benelux.reset
|
34
|
+
@packed_methods = {}
|
35
|
+
@tracks = SelectableHash.new
|
36
|
+
@timeline = Timeline.new
|
37
|
+
@timeline_chunk = Timeline.new # See: update_global_timeline
|
38
|
+
@timeline_updates = 0
|
39
|
+
@known_threads = []
|
40
|
+
@processed_dead_threads = []
|
41
|
+
end
|
42
|
+
reset
|
40
43
|
|
41
44
|
@@mutex = Mutex.new
|
42
45
|
@@debug = false
|
data/lib/benelux/stats.rb
CHANGED