Changeset 16 for trunk/bin/analyze_packets
- Timestamp:
- 08/01/15 19:01:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/analyze_packets
r10 r16 10 10 import socket 11 11 import json 12 try: 13 import requests 14 except: 15 sys.stderr.write('ERROR: Could not import requests module. Ensure it is installed.\n') 16 sys.stderr.write(' Under Debian, the package name is "python3-requests"\n.') 17 sys.exit(1) 12 18 13 19 14 VERSION = "{DEVELOPMENT}" … … 40 35 41 36 42 43 37 db = nanownlib.storage.db(options.db_file) 44 38 … … 46 40 import cProfile 47 41 #cProfile.run('num_probes = analyzeProbes(db)') 48 num_probes = analyzeProbes(db )42 num_probes = analyzeProbes(db, recompute=True) 49 43 end = time.time() 50 44 print("analyzed %d probes' packets in: %f" % (num_probes, end-start))
Note: See TracChangeset
for help on using the changeset viewer.