Changeset 438 for trunk/kernel/devices/dev_nic.c
- Timestamp:
- Apr 4, 2018, 2:49:02 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_nic.c
r437 r438 99 99 core_t * core = thread_ptr->core; 100 100 101 #if CONFIG_DEBUG_DEV_NIC_RX101 #if DEBUG_DEV_NIC_RX 102 102 uint32_t cycle = (uint32_t)hal_get_cycles(); 103 if( CONFIG_DEBUG_DEV_NIC_RX < cycle )103 if( DEBUG_DEV_NIC_RX < cycle ) 104 104 printk("\n[DBG] %s : thread %x enters for packet %x in cluster %x\n", 105 105 __FUNCTION__ , thread_ptr , pkd , local_cxy ); … … 153 153 pkd->length = thread_ptr->nic_cmd.length; 154 154 155 #if CONFIG_DEBUG_DEV_NIC_RX155 #if DEBUG_DEV_NIC_RX 156 156 cycle = (uint32_t)hal_get_cycles(); 157 if( CONFIG_DEBUG_DEV_NIC_RX < cycle )157 if( DEBUG_DEV_NIC_RX < cycle ) 158 158 printk("\n[DBG] %s : thread %x exit for packet %x in cluster %x\n", 159 159 __FUNCTION__ , thread_ptr , pkd , local_cxy ); … … 177 177 core_t * core = thread_ptr->core; 178 178 179 #if CONFIG_DEBUG_DEV_NIC_RX179 #if DEBUG_DEV_NIC_RX 180 180 uint32_t cycle = (uint32_t)hal_get_cycles(); 181 if( CONFIG_DEBUG_DEV_NIC_RX < cycle )181 if( DEBUG_DEV_NIC_RX < cycle ) 182 182 printk("\n[DBG] %s : thread %x enters for packet %x in cluster %x\n", 183 183 __FUNCTION__ , thread_ptr , pkd , local_cxy ); … … 229 229 if( error ) return error; 230 230 231 #if CONFIG_DEBUG_DEV_NIC_RX231 #if DEBUG_DEV_NIC_RX 232 232 cycle = (uint32_t)hal_get_cycles(); 233 if( CONFIG_DEBUG_DEV_NIC_RX < cycle )233 if( DEBUG_DEV_NIC_RX < cycle ) 234 234 printk("\n[DBG] %s : thread %x exit for packet %x in cluster %x\n", 235 235 __FUNCTION__ , thread_ptr , pkd , local_cxy );
Note: See TracChangeset
for help on using the changeset viewer.