MCPcopy Create free account
hub / github.com/davisking/dlib / clear

Function clear

dlib/timing.h:167–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 }
166
167 inline void clear()
168 {
169 for (int i = 0; i < TIME_SLOTS; ++i)
170 {
171 // clear timing buffer
172 time_buf()[i] = 0;
173 // clear name buffer
174 name_buf(i,"")[0] = '\0';
175 }
176 }
177
178 struct block
179 {

Callers

nothing calls this directly

Calls 2

time_bufFunction · 0.85
name_bufFunction · 0.85

Tested by

no test coverage detected