diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-06-05 01:16:11 +0300 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-06-05 01:16:11 +0300 |
commit | e0ca7a226fd37023ff8a9d80e46403a34492c1d7 (patch) | |
tree | afe8b35e7e19129b2ed6ede807326a49a0581c84 /src/trex_defs.h | |
parent | 300ec24108211721d99ac9faf67fd1f91057b95b (diff) |
cpu utilization: don't return vectors, only change passed arguments.
Diffstat (limited to 'src/trex_defs.h')
-rw-r--r-- | src/trex_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/trex_defs.h b/src/trex_defs.h index 62024fa8..bbf3f3ba 100644 --- a/src/trex_defs.h +++ b/src/trex_defs.h @@ -15,6 +15,7 @@ limitations under the License. */ #include <set> #include <queue> +#include <vector> #ifndef __TREX_DEFS_H__ #define __TREX_DEFS_H__ @@ -38,5 +39,6 @@ limitations under the License. typedef std::set<uint32_t> flow_stat_active_t; typedef std::set<uint32_t>::iterator flow_stat_active_it_t; typedef std::vector<std::vector<uint8_t>> cpu_util_full_t; +typedef std::vector<uint8_t> cpu_vct_t; #endif |