cpu2000.py (5361:e379019a1abd) | cpu2000.py (5378:7c058e69f257) |
---|---|
1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 126 unchanged lines hidden (view full) --- 135 # set up default args for LiveProcess object 136 process_args = {} 137 process_args['cmd'] = [ self.name ] + self.args 138 process_args['executable'] = self.executable 139 if self.stdin: 140 process_args['input'] = self.stdin 141 if self.stdout: 142 process_args['output'] = self.stdout | 1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 126 unchanged lines hidden (view full) --- 135 # set up default args for LiveProcess object 136 process_args = {} 137 process_args['cmd'] = [ self.name ] + self.args 138 process_args['executable'] = self.executable 139 if self.stdin: 140 process_args['input'] = self.stdin 141 if self.stdout: 142 process_args['output'] = self.stdout |
143 process_args['simpoint'] = self.simpoint | 143 if self.simpoint: 144 process_args['simpoint'] = self.simpoint |
144 # explicit keywords override defaults 145 process_args.update(kwargs) 146 147 return process_args 148 149 def makeLiveProcess(self, **kwargs): 150 process_args = self.makeLiveProcessArgs(**kwargs) 151 --- 602 unchanged lines hidden --- | 145 # explicit keywords override defaults 146 process_args.update(kwargs) 147 148 return process_args 149 150 def makeLiveProcess(self, **kwargs): 151 process_args = self.makeLiveProcessArgs(**kwargs) 152 --- 602 unchanged lines hidden --- |