MCPcopy Create free account
hub / github.com/jipegit/OSXAuditor / d3_timer_step

Function d3_timer_step

d3-3.2.8/d3.js:1924–1936  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1922 }
1923 };
1924 function d3_timer_step() {
1925 var now = d3_timer_mark(), delay = d3_timer_sweep() - now;
1926 if (delay > 24) {
1927 if (isFinite(delay)) {
1928 clearTimeout(d3_timer_timeout);
1929 d3_timer_timeout = setTimeout(d3_timer_step, delay);
1930 }
1931 d3_timer_interval = 0;
1932 } else {
1933 d3_timer_interval = 1;
1934 d3_timer_frame(d3_timer_step);
1935 }
1936 }
1937 d3.timer.flush = function() {
1938 d3_timer_mark();
1939 d3_timer_sweep();

Callers

nothing calls this directly

Calls 2

d3_timer_markFunction · 0.85
d3_timer_sweepFunction · 0.85

Tested by

no test coverage detected