Use 64 bits counters to mitigate wrapping
Change-Id: I5c1f6a936fcd0d5d38c95a9fe6344fd7bf440e91
diff --git a/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/logs/pa.log b/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/logs/pa.log
index f9510a5..fa6a416 100644
--- a/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/logs/pa.log
+++ b/tools/test/p4src/p4-14/p4c-out/tofino/ecmp/mavericks/logs/pa.log
@@ -1,7 +1,7 @@
+---------------------------------------------------------------------+
| Log file: pa.log |
| Compiler version: 5.1.0 (fca32d1) |
-| Created on: Wed Sep 13 01:40:42 2017 |
+| Created on: Wed Sep 13 12:57:41 2017 |
+---------------------------------------------------------------------+
HLIR Version: 0.10.5
@@ -553,7 +553,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 1505266845.03
+>>Event 'pa_init' at time 1505307464.13
Took 0.01 seconds
--------------------------------------------
PHV MAU Groups: 92
@@ -837,7 +837,7 @@
eg_intr_md.egress_cos <3 bits egress parsed imeta>
->>Event 'pa_resv' at time 1505266845.03
+>>Event 'pa_resv' at time 1505307464.14
Took 0.00 seconds
-----------------------------------------------
@@ -879,7 +879,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 1505266845.07
+>>Event 'pa_bridge' at time 1505307464.17
Took 0.04 seconds
-----------------------------------------------
@@ -932,7 +932,7 @@
| Overall total | 1 (0.30%) | 32 (0.52%) | 6144 |
---------------------------------------------------------------------------
->>Event 'pa_phase0' at time 1505266845.07
+>>Event 'pa_phase0' at time 1505307464.18
Took 0.00 seconds
-----------------------------------------------
@@ -985,7 +985,7 @@
| Overall total | 1 (0.30%) | 32 (0.52%) | 6144 |
---------------------------------------------------------------------------
->>Event 'pa_critical' at time 1505266845.08
+>>Event 'pa_critical' at time 1505307464.18
Took 0.00 seconds
-----------------------------------------------
@@ -2081,8 +2081,8 @@
| Overall total | 50 (14.88%) | 968 (15.76%) | 6144 |
-----------------------------------------------------------------------------
->>Event 'pa_overlay' at time 1505266854.37
- Took 9.29 seconds
+>>Event 'pa_overlay' at time 1505307473.24
+ Took 9.06 seconds
-----------------------------------------------
Allocating remaining parsed fields
@@ -2346,7 +2346,7 @@
| Overall total | 0 (0.00%) | 0 (0.00%) | 6144 |
--------------------------------------------------------------------------
->>Event 'pa_meta1' at time 1505266854.88
+>>Event 'pa_meta1' at time 1505307473.75
Took 0.51 seconds
-----------------------------------------------
@@ -2502,8 +2502,8 @@
--------------------------------------------------------------------------
Sorted metadata field instances to allocate: 0 / 0 bits (0 ingress bits and 0 egress bits)
->>Event 'pa_pov' at time 1505266854.99
- Took 0.11 seconds
+>>Event 'pa_pov' at time 1505307473.85
+ Took 0.10 seconds
-----------------------------------------------
Allocating POV
@@ -2659,7 +2659,7 @@
egress
phv81 (8 bits)
>> 8 total bits
->>Event 'pa_meta2' at time 1505266855.11
+>>Event 'pa_meta2' at time 1505307473.97
Took 0.12 seconds
-----------------------------------------------
@@ -2886,7 +2886,7 @@
final start_bit = 5
(1) msb_offset = 8
***Allocating phv69[7:5] for ig_intr_md_for_tm.drop_ctl[2:0]
->>Event 'pa_meta_init' at time 1505266855.27
+>>Event 'pa_meta_init' at time 1505307474.14
Took 0.16 seconds
-----------------------------------------------