Use 64 bits counters to mitigate wrapping
Change-Id: I5c1f6a936fcd0d5d38c95a9fe6344fd7bf440e91
diff --git a/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/logs/pa.log b/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/logs/pa.log
index c949607..3548273 100644
--- a/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/logs/pa.log
+++ b/tools/test/p4src/p4-14/p4c-out/tofino/default/mavericks/logs/pa.log
@@ -1,7 +1,7 @@
+---------------------------------------------------------------------+
| Log file: pa.log |
| Compiler version: 5.1.0 (fca32d1) |
-| Created on: Wed Sep 13 01:39:13 2017 |
+| Created on: Wed Sep 13 12:56:12 2017 |
+---------------------------------------------------------------------+
HLIR Version: 0.10.5
@@ -549,7 +549,7 @@
parse_pkt_in and parse_pkt_out are exclusive parse states
parse_tcp and parse_udp are exclusive parse states
->>Event 'pa_init' at time 1505266755.52
+>>Event 'pa_init' at time 1505307374.46
Took 0.01 seconds
--------------------------------------------
PHV MAU Groups: 90
@@ -827,7 +827,7 @@
eg_intr_md.egress_cos <3 bits egress parsed imeta>
->>Event 'pa_resv' at time 1505266755.52
+>>Event 'pa_resv' at time 1505307374.46
Took 0.00 seconds
-----------------------------------------------
@@ -869,7 +869,7 @@
Group 2 32 bits -- avail 16 -- ingress avail 16 and remain 15 and promised 1 and req 1 -- egress avail 16 and remain 12 and promised 0 and req 0 -- as if deparsed True -- container_to_use phv32
Group 3 32 bits -- avail 16 -- ingress avail 16 and remain 15 and promised 1 and req 1 -- egress avail 16 and remain 12 and promised 0 and req 0 -- as if deparsed True -- container_to_use phv48
Reserving 32-bit container for ingress: phv0
->>Event 'pa_bridge' at time 1505266755.56
+>>Event 'pa_bridge' at time 1505307374.50
Took 0.04 seconds
-----------------------------------------------
@@ -922,7 +922,7 @@
| Overall total | 1 (0.30%) | 32 (0.52%) | 6144 |
---------------------------------------------------------------------------
->>Event 'pa_phase0' at time 1505266755.56
+>>Event 'pa_phase0' at time 1505307374.51
Took 0.00 seconds
-----------------------------------------------
@@ -975,7 +975,7 @@
| Overall total | 1 (0.30%) | 32 (0.52%) | 6144 |
---------------------------------------------------------------------------
->>Event 'pa_critical' at time 1505266755.57
+>>Event 'pa_critical' at time 1505307374.51
Took 0.00 seconds
-----------------------------------------------
@@ -2023,8 +2023,8 @@
| Overall total | 52 (15.48%) | 968 (15.76%) | 6144 |
-----------------------------------------------------------------------------
->>Event 'pa_overlay' at time 1505266764.66
- Took 9.09 seconds
+>>Event 'pa_overlay' at time 1505307383.55
+ Took 9.04 seconds
-----------------------------------------------
Allocating remaining parsed fields
@@ -2288,7 +2288,7 @@
| Overall total | 0 (0.00%) | 0 (0.00%) | 6144 |
--------------------------------------------------------------------------
->>Event 'pa_meta1' at time 1505266765.17
+>>Event 'pa_meta1' at time 1505307384.06
Took 0.51 seconds
-----------------------------------------------
@@ -2433,7 +2433,7 @@
--------------------------------------------------------------------------
Sorted metadata field instances to allocate: 0 / 0 bits (0 ingress bits and 0 egress bits)
->>Event 'pa_pov' at time 1505266765.24
+>>Event 'pa_pov' at time 1505307384.13
Took 0.07 seconds
-----------------------------------------------
@@ -2590,7 +2590,7 @@
egress
phv81 (8 bits)
>> 8 total bits
->>Event 'pa_meta2' at time 1505266765.36
+>>Event 'pa_meta2' at time 1505307384.25
Took 0.12 seconds
-----------------------------------------------
@@ -2733,7 +2733,7 @@
final start_bit = 5
(1) msb_offset = 8
***Allocating phv67[7:5] for ig_intr_md_for_tm.drop_ctl[2:0]
->>Event 'pa_meta_init' at time 1505266765.43
+>>Event 'pa_meta_init' at time 1505307384.32
Took 0.06 seconds
-----------------------------------------------