SConscript (12810:485ca1c27812) | SConscript (12813:2c023816bec9) |
---|---|
1# -*- mode:python -*- 2 3# Copyright (c) 2012, 2017-2018 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 38 unchanged lines hidden (view full) --- 47Source('exit_gen.cc') 48Source('idle_gen.cc') 49Source('linear_gen.cc') 50Source('random_gen.cc') 51 52DebugFlag('TrafficGen') 53SimObject('BaseTrafficGen.py') 54 | 1# -*- mode:python -*- 2 3# Copyright (c) 2012, 2017-2018 ARM Limited 4# All rights reserved. 5# 6# The license below extends only to copyright in the software and shall 7# not be construed as granting a license to any other intellectual 8# property including but not limited to intellectual property relating --- 38 unchanged lines hidden (view full) --- 47Source('exit_gen.cc') 48Source('idle_gen.cc') 49Source('linear_gen.cc') 50Source('random_gen.cc') 51 52DebugFlag('TrafficGen') 53SimObject('BaseTrafficGen.py') 54 |
55if env['USE_PYTHON']: 56 Source('pygen.cc', add_tags='python') 57 SimObject('PyTrafficGen.py') 58 |
|
55# Only build the traffic generator if we have support for protobuf as the 56# tracing relies on it 57if env['HAVE_PROTOBUF']: 58 SimObject('TrafficGen.py') 59 Source('trace_gen.cc') 60 Source('traffic_gen.cc') 61 | 59# Only build the traffic generator if we have support for protobuf as the 60# tracing relies on it 61if env['HAVE_PROTOBUF']: 62 SimObject('TrafficGen.py') 63 Source('trace_gen.cc') 64 Source('traffic_gen.cc') 65 |