Skip to content

Commit

Permalink
Added print on and testing methods to the analizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmontt committed Oct 30, 2024
1 parent 9aa41fa commit 60b0189
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/IllimaniProfiler/IllAllocationSite.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ IllAllocationSite >> method: aCollection [
IllAllocationSite >> printOn: aStream [

method printOn: aStream.
aStream << 'at byte: '.
aStream << ' at byte: '.
byte printOn: aStream
]
24 changes: 24 additions & 0 deletions src/IllimaniProfiler/IllAllocationSiteBin.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,36 @@ IllAllocationSiteBin >> inspectorAllocSite [
^ allocationSite inspectionSource
]

{ #category : 'accessing' }
IllAllocationSiteBin >> isImmortal [

^ classification = #immortal
]

{ #category : 'accessing' }
IllAllocationSiteBin >> isLong [

^ classification = #long
]

{ #category : 'accessing' }
IllAllocationSiteBin >> isShort [

^ classification = #short
]

{ #category : 'accessing' }
IllAllocationSiteBin >> longLivedObjects [

^ longLivedObjects
]

{ #category : 'printing' }
IllAllocationSiteBin >> printOn: aStream [

aStream << classification << ' bin '
]

{ #category : 'accessing' }
IllAllocationSiteBin >> shortLivedObjects [

Expand Down

0 comments on commit 60b0189

Please sign in to comment.