-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
31 additions
and
329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
emulators/mt_cbench/oflops/example_modules/oflops_debug/liboflops_debug.la
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...rs/mt_cbench/oflops/example_modules/openflow_action_install/libopenflow_action_install.la
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...ench/oflops/example_modules/openflow_action_measurement/libopenflow_action_measurement.la
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
...rs/mt_cbench/oflops/example_modules/openflow_flow_dump_test/libopenflow_flow_dump_test.la
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
emulators/mt_cbench/oflops/example_modules/openflow_packet_in/extract_packet_in_data.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/usr/bin/env perl | ||
|
||
# | ||
# Process the output log for oflops when the openflow_packet_in | ||
# module is used. The script will provide the per packet delay | ||
# for each packet. | ||
# | ||
|
||
if(@ARGV < 1) { | ||
print "Please provide as a param the file to be processed\n"; | ||
exit 1; | ||
} | ||
|
||
my $file = $ARGV[0]; | ||
|
||
if(! -e $file){ | ||
print "Input file not found\n"; | ||
exit 1; | ||
} | ||
|
||
open(FILE, "grep OFPT_PACKET_IN_MSG $file | "); | ||
|
||
while(!eof(FILE)) { | ||
$_ = readline(FILE); | ||
chomp(); | ||
my @data = split(/:/); | ||
print "$data[4] ".int(($data[3]-$data[2])*(10**6)) ."\n" | ||
}; | ||
|
||
close(FILE); |
41 changes: 0 additions & 41 deletions
41
emulators/mt_cbench/oflops/example_modules/openflow_packet_in/libof_packet_in.la
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
emulators/mt_cbench/oflops/example_modules/openflow_port_status/libof_port_stat.la
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
emulators/mt_cbench/oflops/example_modules/snmp_cpu/libof_snmp_cpu.la
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.