Remove c-11 memcpy checks from perf-critical code
[vpp.git] / src / plugins / perfmon / perfmon_periodic.c
index 329a75d..4e7e237 100644 (file)
@@ -271,7 +271,7 @@ scrape_and_clear_counters (perfmon_main_t * pm)
        {
          n = nm->nodes[i];
          nodes[i] = clib_mem_alloc (sizeof (*n));
-         clib_memcpy (nodes[i], n, sizeof (*n));
+         clib_memcpy_fast (nodes[i], n, sizeof (*n));
          n->stats_total.perf_counter_ticks = 0;
          n->stats_total.perf_counter_vectors = 0;
          n->stats_last_clear.perf_counter_ticks = 0;