Ignore:
Timestamp:
08/01/15 19:01:31 (9 years ago)
Author:
tim
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/analyze_packets

    r10 r16  
    1010import socket
    1111import 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
    1813
    1914VERSION = "{DEVELOPMENT}"
     
    4035
    4136
    42 
    4337db = nanownlib.storage.db(options.db_file)
    4438
     
    4640import cProfile
    4741#cProfile.run('num_probes = analyzeProbes(db)')
    48 num_probes = analyzeProbes(db)
     42num_probes = analyzeProbes(db, recompute=True)
    4943end = time.time()
    5044print("analyzed %d probes' packets in: %f" % (num_probes, end-start))
Note: See TracChangeset for help on using the changeset viewer.