File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,9 @@ pub fn mutil_thread_random_size<const ORDER: usize>(heap: &'static LockedHeap<OR
74
74
}
75
75
}
76
76
77
- /// # From **Hoard** benchmark: threadtest.cpp, rewrite in Rust
77
+ /// Multithread benchmark inspired by **Hoard** benchmark
78
78
///
79
- /// # Warnning
80
- ///
81
- /// This benchmark generally needs long time to finish
79
+ /// Warning: This benchmark generally needs long time to finish
82
80
///
83
81
/// ----------------------------------------------------------------------
84
82
/// Hoard: A Fast, Scalable, and Memory-Efficient Allocator
@@ -155,7 +153,7 @@ static mut HEAP: [usize; HEAP_BLOCK] = [0; HEAP_BLOCK];
155
153
#[ global_allocator]
156
154
static HEAP_ALLOCATOR : LockedHeap < ORDER > = LockedHeap :: < ORDER > :: new ( ) ;
157
155
158
- /// # Init heap
156
+ /// Init heap
159
157
///
160
158
/// We need `ctor` here because benchmark is running behind the std enviroment,
161
159
/// which means std will do some initialization before execute `fn main()`.
You can’t perform that action at this time.
0 commit comments