Types
gs-store-image-packet: structuresource
screen-shot-work: structuresource
Variables
*image-name*: stringsource
Types
Expand description
The Jak 2 profiler is a significant improvement over Jak 1's.
VU segments are categorized by renderer, and the EE profiler allows nesting of events.
The EE profiler also allows events with the same name to be "collapsed" into a single
category.
The profiler can display results as bars, or as a text display by category.
Each "event" is called a "segment". It stores a time and also a "count".
The "count" can be used for whatever you want (ex: fragments, VU calls, etc)
Types
profile-array: structuresource
Fields
data: profile-segment-array
Methods
setup-categories!(obj: profile-array) => nonesource
Summarize data collected.
draw-bars!(obj: profile-array, arg0: dma-buffer, arg1: int) => nonesource
Draw the two bars at the top.
draw-text!(obj: profile-array) => nonesource
Draw the table of times.
profile-collapse: structuresource
profile-segment: structuresource
profile-segment-array: basicsource
Fields
type: type
count: int16
depth: int8
max-depth: int8
base-time: int16
segment: profile-segment
data: profile-segment
Methods
get-total-time(obj: profile-segment-array) => intsource
Get the total time spent.
start-frame!(obj: profile-segment-array) => nonesource
Start a frame.
start-segment!(obj: profile-segment-array, arg0: symbol, arg1: rgba) => nonesource
Push a new segment onto the profiling stack.
end-segment!(obj: profile-segment-array) => nonesource
Pop the last pushed segment.
Variables
*profile-interrupt-start*: symbolsource
Types
profile-work: structuresource
Functions
profile-emerc-test(arg0: bucket-id) => symbolsource
Is this an emerc bucket?
profile-merc-test(arg0: bucket-id) => symbolsource
Is this a merc bucket?
profile-mercneric-test(arg0: bucket-id) => symbolsource
Is this a mercneric bucket?
profile-texture-test(arg0: bucket-id) => symbolsource
Is this a texture bucket?
profile-tfrag-test(arg0: bucket-id) => symbolsource
Is this a tfrag bucket?
profile-tie-test(arg0: bucket-id) => symbolsource
Variables
*profile-h*: intsource
*profile-ticks*: symbolsource
*profile-w*: intsource
*profile-x*: intsource
*profile-y*: intsource
Types
script-context: structuresource
Fields
load-state: load-state
key: object
process: process
trans: vector
side-effect?: symbol
got-error?: symbol
expr: pair
param-count: int32
param: object
param-type: object
Methods
eval!(obj: script-context, arg0: pair) => objectsource
script-context-method-10(obj: script-context, arg0: object, arg1: pair) => objectsource
script-context-method-11(obj: script-context, arg0: pair, arg1: pair, arg2: symbol) => symbolsource
script-form: structuresource
Functions
command-get-entity(search: object, fallback: entity) => entitysource
command-get-float(arg0: object, arg1: float) => floatsource
command-get-int(arg0: object, arg1: int) => intsource
command-get-param(arg0: object, arg1: object) => objectsource
command-get-process(arg0: object, arg1: process) => processsource
command-get-quoted-param(arg0: object, arg1: object) => objectsource
command-get-time(arg0: object, arg1: int) => time-framesource
command-get-trans(arg0: object, arg1: vector) => vectorsource
level-from-heap(arg0: int) => levelsource
Variables
*script-form*: inline-arraysource
Types
smush-control: structuresource
Fields
start-time: time-frame
period: float
duration: float
amp: float
damp-amp: float
damp-period: float
ticks: float
Methods
set-zero!(obj: smush-control) => _type_source
update!(obj: smush-control) => floatsource
get-no-update(obj: smush-control) => floatsource
activate!(obj: smush-control, arg0: float, arg1: int, arg2: int, arg3: float, arg4: float, arg5: clock) => _type_source
nonzero-amplitude?(obj: smush-control) => symbolsource
die-on-next-update!(obj: smush-control) => _type_source
Types
bouncing-float: structuresource
Fields
osc: oscillating-float
max-value: float
min-value: float
elasticity: float
state: int32
Methods
set-params!(obj: bouncing-float, arg0: float, arg1: float, arg2: float, arg3: float, arg4: float, arg5: float, arg6: float) => floatsource
update!(obj: bouncing-float, arg0: float) => floatsource
at-min?(obj: bouncing-float) => symbolsource
at-max?(obj: bouncing-float) => symbolsource
delayed-rand-float: structuresource
Fields
min-time: int32
max-time: int32
max-val: float
timer: int32
start-time: time-frame
value: float
Methods
set-params!(obj: delayed-rand-float, arg0: int, arg1: int, arg2: float) => floatsource
reset!(obj: delayed-rand-float) => floatsource
update!(obj: delayed-rand-float) => floatsource
update-and-clear!(obj: delayed-rand-float) => nonesource
delayed-rand-vector: structuresource
Fields
min-time: int32
max-time: int32
xz-max: float
y-max: float
timer: int32
start-time: time-frame
value: vector
Methods
set-params!(obj: delayed-rand-vector, arg0: int, arg1: int, arg2: float, arg3: float) => vectorsource
update-now!(obj: delayed-rand-vector) => vectorsource
oscillating-float: structuresource
Fields
value: float
target: float
vel: float
max-vel: float
damping: float
accel: float
Methods
set-params!(obj: oscillating-float, arg0: float, arg1: float, arg2: float, arg3: float) => floatsource
update!(obj: oscillating-float, arg0: float) => floatsource
oscillating-vector: structuresource
Fields
value: vector
target: vector
vel: vector
max-vel: float
damping: float
accel: float
Methods
set-params!(obj: oscillating-vector, arg0: vector, arg1: float, arg2: float, arg3: float) => vectorsource
update!(obj: oscillating-vector, arg0: vector) => vectorsource
sync-eased: sync-infosource
Fields
sync-flags: sync-flags
offset: float
period: uint32
tlo: float
thi: float
ylo: float
m2: float
yend: float
pause-in: float
pause-out: float
sync-info: structuresource
Fields
sync-flags: sync-flags
offset: float
period: uint32
Methods
get-current-phase-no-mod(obj: sync-info) => floatsource
Get the current value, with no fancy modifications.
get-phase-offset(obj: sync-info) => floatsource
Get the offset, as a fraction of period
get-scaled-val!(obj: sync-info, arg0: float, arg1: int) => floatsource
Multiples result of get-norm!
by the provided float
initialize!(obj: sync-info, arg0: sync-info-params) => nonesource
Set up a sync-info from params.
get-timeframe-offset!(obj: sync-info, arg0: time-frame) => time-framesource
Get the difference between the given time-frame and when this sync-info is at 0.