jit.util.tracesnap

From Garry's Mod
Jump to: navigation, search
 jit.util.tracesnap( )

Contents

Description

This article is a stub.
Please help the Garry's Mod wiki by adding to it.

Return table fields:

  • 0 (ref) (number): first IR ref for the snapshot
  • 1 (nslots) (number): the number of valid slots
  • all indexes except first 2 and last (there might not be any of these): the snapshot map
  • last index in table (number): -16777216 (255 << 24)

Arguments

number tr

trace index to retrieve snapshot for (gotten via jit.attach)

Arguments

number sn

snapshot index for trace (starting from 0 to nexit - 1, nexit gotten via jit.util.traceinfo)

Returns

table

snapshot
Personal tools
Navigation