dyninst.git
25 years agoadded new cost server class, two new files, PCcostServer.C and PCcostServer.h
karavan [Thu, 2 May 1996 19:51:39 +0000 (19:51 +0000)]
added new cost server class, two new files, PCcostServer.C and PCcostServer.h

25 years agoadded new costServer class
karavan [Thu, 2 May 1996 19:50:05 +0000 (19:50 +0000)]
added new costServer class

25 years agoremoved obsolete parameters from predictedCost callback function defn
karavan [Thu, 2 May 1996 19:49:08 +0000 (19:49 +0000)]
removed obsolete parameters from predictedCost callback function defn

25 years agoa new class to cache predicted cost values, since these calls take so
karavan [Thu, 2 May 1996 19:48:16 +0000 (19:48 +0000)]
a new class to cache predicted cost values, since these calls take so
darn long to get back from the daemons we seek to minimize them where
possible.

25 years agochanged predicted data cost to be fully asynchronous within the pc.
karavan [Thu, 2 May 1996 19:46:26 +0000 (19:46 +0000)]
changed predicted data cost to be fully asynchronous within the pc.

added predicted cost server which caches predicted cost values, minimizing
the number of calls to the data manager.

added new batch version of ui->DAGconfigNode

added hysteresis factor to cost threshold

eliminated calls to dm->enable wherever possible

general cleanup

25 years agoadded getMachineNameReferredTo
tamches [Thu, 2 May 1996 16:17:34 +0000 (16:17 +0000)]
added getMachineNameReferredTo
cleaned up class decls by making appropriate member fns const

25 years agoadded machineName2Daemon
tamches [Thu, 2 May 1996 16:16:30 +0000 (16:16 +0000)]
added machineName2Daemon

25 years agoadded machineName2Daemon
tamches [Thu, 2 May 1996 16:15:58 +0000 (16:15 +0000)]
added machineName2Daemon
cleaned up class decls a bit by making appropriate member fns const

25 years agoDeleting debugging info for DAGaddBatchOfEdges - naim
naim [Thu, 2 May 1996 12:59:08 +0000 (12:59 +0000)]
Deleting debugging info for DAGaddBatchOfEdges - naim

25 years agoadded inactivateEntireSearch
tamches [Wed, 1 May 1996 20:56:35 +0000 (20:56 +0000)]
added inactivateEntireSearch
altered use of configNode to correspond w/ new shg syntax

25 years agoadded inactivateEntireSearch
tamches [Wed, 1 May 1996 20:56:07 +0000 (20:56 +0000)]
added inactivateEntireSearch

25 years agoadded inactivateAll
tamches [Wed, 1 May 1996 20:55:55 +0000 (20:55 +0000)]
added inactivateAll
changed configNode implementation

25 years agoadded inactivateAll
tamches [Wed, 1 May 1996 20:55:08 +0000 (20:55 +0000)]
added inactivateAll
change interface to configNode a bit

25 years agoadded DAGinactivateEntireSearch
tamches [Wed, 1 May 1996 20:54:20 +0000 (20:54 +0000)]
added DAGinactivateEntireSearch

25 years agoAdding debugging information during the deletion of instrumentation - naim
naim [Wed, 1 May 1996 19:04:31 +0000 (19:04 +0000)]
Adding debugging information during the deletion of instrumentation - naim

25 years agobug fix: check size of partPair after call to VISIthreadWaitForEnableResponse
newhall [Wed, 1 May 1996 18:56:03 +0000 (18:56 +0000)]
bug fix: check size of partPair after call to VISIthreadWaitForEnableResponse

25 years agobug fix in enable data response
newhall [Wed, 1 May 1996 18:38:22 +0000 (18:38 +0000)]
bug fix in enable data response

25 years agofixed some purify errors, added clientId parameter to predicted cost calls
newhall [Wed, 1 May 1996 18:11:43 +0000 (18:11 +0000)]
fixed some purify errors, added clientId parameter to predicted cost calls

25 years agopurify fixes
newhall [Wed, 1 May 1996 18:08:03 +0000 (18:08 +0000)]
purify fixes

25 years agoadded parameter to predicted cost call
newhall [Wed, 1 May 1996 18:07:21 +0000 (18:07 +0000)]
added parameter to predicted cost call

25 years agoadded param to predicted cost routines
newhall [Wed, 1 May 1996 18:06:31 +0000 (18:06 +0000)]
added param to predicted cost routines

25 years agofixed some purify errors, fix to clearPersistentData so that it checks for
newhall [Wed, 1 May 1996 18:05:04 +0000 (18:05 +0000)]
fixed some purify errors, fix to clearPersistentData so that it checks for
any outstanding enables for the MI before deleting it, added a clientId
parameter to predicted data cost routines.

25 years agoMinir fix. (removed a line for the debugging)
lzheng [Wed, 1 May 1996 16:57:32 +0000 (16:57 +0000)]
Minir fix. (removed a line for the debugging)

25 years agoMore debugging stuff to PCfilter.C - naim
naim [Wed, 1 May 1996 16:05:00 +0000 (16:05 +0000)]
More debugging stuff to PCfilter.C - naim

25 years agoMaking sure that gettimeofday does not go backwards - naim
naim [Wed, 1 May 1996 14:08:41 +0000 (14:08 +0000)]
Making sure that gettimeofday does not go backwards - naim

25 years agoMultiples changes in UI to make call to requestNodeInfoCallback async.
naim [Wed, 1 May 1996 14:07:54 +0000 (14:07 +0000)]
Multiples changes in UI to make call to requestNodeInfoCallback async.
(UI<->PC) - naim

25 years agoMultiples changes in PC to make call to requestNodeInfoCallback async.
naim [Wed, 1 May 1996 14:06:53 +0000 (14:06 +0000)]
Multiples changes in PC to make call to requestNodeInfoCallback async.
(UI<->PC). I also added some debugging information - naim

25 years agoMaking sure time does not go backwards - naim
naim [Wed, 1 May 1996 14:05:08 +0000 (14:05 +0000)]
Making sure time does not go backwards - naim

25 years agoAdding async. call to requestNodeInfoCallback to avoid deadlock between UI
naim [Wed, 1 May 1996 14:03:48 +0000 (14:03 +0000)]
Adding async. call to requestNodeInfoCallback to avoid deadlock between UI
and PC - naim

25 years ago*** empty log message ***
newhall [Wed, 1 May 1996 02:05:36 +0000 (02:05 +0000)]
*** empty log message ***

25 years agomoved some Dg2 stuff to barChartTcl.C (makes more sense there)
tamches [Tue, 30 Apr 1996 20:45:42 +0000 (20:45 +0000)]
moved some Dg2 stuff to barChartTcl.C (makes more sense there)

25 years agomoved some Dg2 cmds here
tamches [Tue, 30 Apr 1996 20:45:24 +0000 (20:45 +0000)]
moved some Dg2 cmds here
added functionality for phase label displayed in the tk window

25 years agomoved some Dg2 cmds here
tamches [Tue, 30 Apr 1996 20:44:46 +0000 (20:44 +0000)]
moved some Dg2 cmds here

25 years agoadded label for the phase name
tamches [Tue, 30 Apr 1996 20:44:18 +0000 (20:44 +0000)]
added label for the phase name

25 years agoadded label w/ phase name
tamches [Tue, 30 Apr 1996 20:19:50 +0000 (20:19 +0000)]
added label w/ phase name

25 years agoAdded label with phase name
tamches [Tue, 30 Apr 1996 20:19:06 +0000 (20:19 +0000)]
Added label with phase name

25 years agoadded Dg2PhaseDataCallback
tamches [Tue, 30 Apr 1996 20:17:55 +0000 (20:17 +0000)]
added Dg2PhaseDataCallback

25 years agodouble2string optimized for 0
tamches [Tue, 30 Apr 1996 20:17:37 +0000 (20:17 +0000)]
double2string optimized for 0
gcvt called instead of sprintf on the off-chance that
it's a bit faster.

25 years agoadded MYPHASENAME
tamches [Tue, 30 Apr 1996 20:16:14 +0000 (20:16 +0000)]
added MYPHASENAME

25 years agoadded template classes for DM_enableType
newhall [Tue, 30 Apr 1996 19:04:27 +0000 (19:04 +0000)]
added template classes for DM_enableType

25 years agoadded more info. to error #86
newhall [Tue, 30 Apr 1996 19:02:23 +0000 (19:02 +0000)]
added more info. to error #86

25 years agochanges to enableDataCollection calls and upcalls
newhall [Tue, 30 Apr 1996 18:57:37 +0000 (18:57 +0000)]
changes to enableDataCollection calls and upcalls

25 years agochanges to support the asynchrounous enable data calls to the DM
newhall [Tue, 30 Apr 1996 18:56:57 +0000 (18:56 +0000)]
changes to support the asynchrounous enable data calls to the DM
this code contains a kludge to make the PC wait for the DM's async response

25 years agochanges to support the asynchrounous enable data calls to the DM
newhall [Tue, 30 Apr 1996 18:56:29 +0000 (18:56 +0000)]
changes to support the asynchrounous enable data calls to the DM
this code contains a kludge to make the UI wait for the DM's async response

25 years agochanges to support the asynchrounous enable data calls to the DM
newhall [Tue, 30 Apr 1996 18:55:29 +0000 (18:55 +0000)]
changes to support the asynchrounous enable data calls to the DM
this code contains a kludge to make the VISIthread wait for the DM's
async response

25 years agochanges to make enabling and disabling data asynchronous
newhall [Tue, 30 Apr 1996 18:53:41 +0000 (18:53 +0000)]
changes to make enabling and disabling data asynchronous

25 years agoUsed #defines for the timer function to be instrumented.
lzheng [Tue, 30 Apr 1996 16:28:09 +0000 (16:28 +0000)]
Used #defines for the timer function  to be instrumented.

25 years agoUsed #define for the timer function to be instrumented.
lzheng [Tue, 30 Apr 1996 16:27:24 +0000 (16:27 +0000)]
Used #define for the timer function to be instrumented.

25 years agoUsed #define for the timer function to be instrumented
lzheng [Tue, 30 Apr 1996 16:26:45 +0000 (16:26 +0000)]
Used #define for the timer function to be instrumented

25 years agoThe name of the functions to be instrumented for timer now become machine
lzheng [Tue, 30 Apr 1996 16:17:05 +0000 (16:17 +0000)]
The name of the functions to be instrumented for timer now become machine
dependent and the definations are moved to $(PLATFORM).h

25 years agoRemoved the #ifdefs for the HPUX.
lzheng [Tue, 30 Apr 1996 16:14:09 +0000 (16:14 +0000)]
Removed the #ifdefs for the HPUX.

25 years agoClean up this file so that it could be easily maintained in future.
lzheng [Tue, 30 Apr 1996 16:11:44 +0000 (16:11 +0000)]
Clean up this file so that it could be easily maintained in future.

25 years agoincreased sliding window size for smoothed observed cost.
karavan [Tue, 30 Apr 1996 06:28:36 +0000 (06:28 +0000)]
increased sliding window size for smoothed observed cost.

25 years agochange PC pause function so cost-related metric instances aren't disabled
karavan [Tue, 30 Apr 1996 06:26:41 +0000 (06:26 +0000)]
change PC pause function so cost-related metric instances aren't disabled
if another phase is running.

fixed bug in search node activation code.

added change to treat activeProcesses metric differently in all PCmetrics
in which it is used; checks for refinement along process hierarchy and
if there is one, uses value "1" instead of enabling activeProcesses metric.

changed costTracker:  we now use min of active Processes and number of
cpus, instead of just number of cpus; also now we average only across
time intervals rather than cumulative average.

25 years agoAdded size to functions
mjrg [Mon, 29 Apr 1996 22:19:39 +0000 (22:19 +0000)]
Added size to functions

25 years agoAdded size to functions (get size from symbol table)
mjrg [Mon, 29 Apr 1996 22:18:42 +0000 (22:18 +0000)]
Added size to functions (get size from symbol table)
Use size to define function boundary
Find multiple return points for sparc
Instrument branches and jumps out of a function as return points (sparc)
Recognize tail-call optimizations and instrument them as return points (sparc)
Move instPoint to machine dependent files

25 years agoreplaced an assert by an error checking
mjrg [Mon, 29 Apr 1996 22:09:42 +0000 (22:09 +0000)]
replaced an assert by an error checking

25 years agoadded some extra defines
mjrg [Mon, 29 Apr 1996 22:08:44 +0000 (22:08 +0000)]
added some extra defines

25 years agofixed a bug in configNode which could fail to properly hide the root node
tamches [Mon, 29 Apr 1996 21:29:58 +0000 (21:29 +0000)]
fixed a bug in configNode which could fail to properly hide the root node
when set to false with hideFalseNodes.

25 years agoadded vector<internalMetric::eachInstance>
tamches [Mon, 29 Apr 1996 03:43:00 +0000 (03:43 +0000)]
added vector<internalMetric::eachInstance>

25 years agooverhaul of how internal metrics are used, to correspond to the
tamches [Mon, 29 Apr 1996 03:41:29 +0000 (03:41 +0000)]
overhaul of how internal metrics are used, to correspond to the
greatly updated internalMetrics class

25 years agoadded getFocus() member func
tamches [Mon, 29 Apr 1996 03:40:03 +0000 (03:40 +0000)]
added getFocus() member func

25 years agofirst version of the .C file; complete overhaul & cleanification of
tamches [Mon, 29 Apr 1996 03:39:33 +0000 (03:39 +0000)]
first version of the .C file; complete overhaul & cleanification of
internalMetrics class (used to be in metric.C)

25 years agocomplete overhaul & cleanification of internalMetrics class
tamches [Mon, 29 Apr 1996 03:38:03 +0000 (03:38 +0000)]
complete overhaul & cleanification of internalMetrics class

25 years agodeclaration of computePauseTimeMetric now has a param
tamches [Mon, 29 Apr 1996 03:36:40 +0000 (03:36 +0000)]
declaration of computePauseTimeMetric now has a param

25 years agocomputePauseTimeMetric now takes in a metric (but doesn't use it)
tamches [Mon, 29 Apr 1996 03:36:22 +0000 (03:36 +0000)]
computePauseTimeMetric now takes in a metric (but doesn't use it)

25 years agocomputePauseTimeMetric now takes in a param (but doesn't use it)
tamches [Mon, 29 Apr 1996 03:35:54 +0000 (03:35 +0000)]
computePauseTimeMetric now takes in a param (but doesn't use it)

25 years agocomputePauseTimeMetric now takes in a param (but doesn't use it), to conform
tamches [Mon, 29 Apr 1996 03:35:23 +0000 (03:35 +0000)]
computePauseTimeMetric now takes in a param (but doesn't use it), to conform
to new internalMetrics class

25 years agocomputePauseTimeMetric now takes in a metric (but doesn't use it), to
tamches [Mon, 29 Apr 1996 03:34:41 +0000 (03:34 +0000)]
computePauseTimeMetric now takes in a metric (but doesn't use it), to
conform to new internalMetrics class

25 years agoadded activeProcessesProc
tamches [Mon, 29 Apr 1996 03:34:10 +0000 (03:34 +0000)]
added activeProcessesProc
changed declaration of active_processes internal metric

25 years agobucket_width handling slightly changed to conform to new internalMetrics.h/.C
tamches [Mon, 29 Apr 1996 03:32:56 +0000 (03:32 +0000)]
bucket_width handling slightly changed to conform to new internalMetrics.h/.C

25 years agoadded internalMetrics.C
tamches [Mon, 29 Apr 1996 03:30:50 +0000 (03:30 +0000)]
added internalMetrics.C

25 years agoRemoved newlines from description of error msgs
tamches [Mon, 29 Apr 1996 03:29:53 +0000 (03:29 +0000)]
Removed newlines from description of error msgs

25 years agoadded APP_PURE_OPTIONS for application-specific purify options
tamches [Mon, 29 Apr 1996 03:27:55 +0000 (03:27 +0000)]
added APP_PURE_OPTIONS for application-specific purify options

25 years agoFixed bug in global metric id processing (needs to start at 1 not 0).
hollings [Sat, 27 Apr 1996 16:04:19 +0000 (16:04 +0000)]
Fixed bug in global metric id processing (needs to start at 1 not 0).

25 years agoChanges to the procedure emitFuncCall. (move all the code dealing with
lzheng [Fri, 26 Apr 1996 20:53:36 +0000 (20:53 +0000)]
Changes to the procedure emitFuncCall. (move all the code dealing with
the function Calls in the miniTrampoline to here)

25 years agoChanges to the procedure emitFuncCall. (move all the code dealing with
lzheng [Fri, 26 Apr 1996 20:43:07 +0000 (20:43 +0000)]
Changes to the procedure emitFuncCall. (move all the code dealing with
function Call in the miniTrampoline here)

25 years agoSome changes are moved so that function arguments registers are saved
lzheng [Fri, 26 Apr 1996 20:38:47 +0000 (20:38 +0000)]
Some changes are moved so that function arguments registers are saved
in miniTrampoline.
Changes in emitFuncCall to remove the #ifdef in ast.C

25 years agoMove part of code in AstNode::generateCode to machine dependent file.
lzheng [Fri, 26 Apr 1996 20:16:16 +0000 (20:16 +0000)]
Move part of code in AstNode::generateCode to machine dependent file.
(Those code are put into the procedure emitFuncCall)

25 years agoMoved the defination of emitFuncCall from inst.h to here.
lzheng [Fri, 26 Apr 1996 20:04:32 +0000 (20:04 +0000)]
Moved the defination of emitFuncCall from inst.h to here.

25 years agoSome minor changes in the constructor of pdFunction(for hpux only)
lzheng [Fri, 26 Apr 1996 20:01:44 +0000 (20:01 +0000)]
Some minor changes in the constructor of pdFunction(for hpux only)
in order to prvent paradyn from dying for special instruction sequences.

25 years agoMoved some data structures used by HP only to the machine dependent file.
lzheng [Fri, 26 Apr 1996 19:58:29 +0000 (19:58 +0000)]
Moved some data structures used by HP only to the machine dependent file.
And an argument for constructor of instPoint to pass the error.

25 years agoremoved some uncessage defination because of the changes in tramp-hppa.s
lzheng [Fri, 26 Apr 1996 19:55:45 +0000 (19:55 +0000)]
removed some uncessage defination because of the changes in tramp-hppa.s

25 years agoRemoved the instruction words used to save the function argument registers.
lzheng [Fri, 26 Apr 1996 19:54:40 +0000 (19:54 +0000)]
Removed the instruction words used to save the function argument registers.
They are saved in miniTrampoline now

25 years agoMoved prototype of emitFuncCall to ast.h because the function arguments
lzheng [Fri, 26 Apr 1996 19:52:11 +0000 (19:52 +0000)]
Moved prototype of emitFuncCall to ast.h because the function arguments
used is changed.

25 years agoremove a #ifdef for hpux
lzheng [Fri, 26 Apr 1996 19:49:21 +0000 (19:49 +0000)]
remove a #ifdef for hpux

25 years agoMove some data structures used by HPUX only from symtab.h to here
lzheng [Fri, 26 Apr 1996 19:48:24 +0000 (19:48 +0000)]
Move some data structures used by HPUX only from symtab.h to here

25 years agochanges for EXIT_NAME
lzheng [Fri, 26 Apr 1996 19:45:45 +0000 (19:45 +0000)]
changes for EXIT_NAME

25 years agoadded P_endservent
lzheng [Fri, 26 Apr 1996 01:28:28 +0000 (01:28 +0000)]
added P_endservent

25 years agoFixed a bug with $globalId on metric inherit.
hollings [Thu, 25 Apr 1996 22:45:13 +0000 (22:45 +0000)]
Fixed a bug with $globalId on metric inherit.

25 years agoWe now do a yview -pickplace end on the "status window" area when changing
tamches [Wed, 24 Apr 1996 21:58:07 +0000 (21:58 +0000)]
We now do a yview -pickplace end on the "status window" area when changing
phases.

25 years agoadded string::string(const char *str, unsigned len)
tamches [Wed, 24 Apr 1996 19:34:00 +0000 (19:34 +0000)]
added string::string(const char *str, unsigned len)

25 years agoadded string (const char *, unsigned n) constructor
tamches [Wed, 24 Apr 1996 19:33:30 +0000 (19:33 +0000)]
added string (const char *, unsigned n) constructor

25 years agoMinor change to print message - naim
naim [Wed, 24 Apr 1996 15:01:19 +0000 (15:01 +0000)]
Minor change to print message - naim

25 years agoFixing misspelling error - naim
naim [Wed, 24 Apr 1996 15:00:34 +0000 (15:00 +0000)]
Fixing misspelling error - naim

25 years agoadded comments, minor change to getPredictedDataCostAsync
newhall [Mon, 22 Apr 1996 17:59:23 +0000 (17:59 +0000)]
added comments, minor change to getPredictedDataCostAsync

25 years agominor change to predictedDataCost
newhall [Mon, 22 Apr 1996 17:56:40 +0000 (17:56 +0000)]
minor change to predictedDataCost

25 years agoFixing bug: making sure that application was running before calling
naim [Mon, 22 Apr 1996 16:10:25 +0000 (16:10 +0000)]
Fixing bug: making sure that application was running before calling
continueProc in procedure walkStack - naim

25 years agoadded callbacks.cFunc
newhall [Sun, 21 Apr 1996 22:08:56 +0000 (22:08 +0000)]
added callbacks.cFunc

25 years agochanged getPredictedDataCostAsync
newhall [Sun, 21 Apr 1996 21:45:38 +0000 (21:45 +0000)]
changed getPredictedDataCostAsync