mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
31 lines
518 B
D
31 lines
518 B
D
|
|
swift*:::retain
|
|
{
|
|
@counts["num retain calls"] = count();
|
|
}
|
|
|
|
swift*:::release
|
|
{
|
|
@counts["num release calls"] = count();
|
|
}
|
|
|
|
swift*:::allocateObject
|
|
{
|
|
@counts["num allocated objects"] = count();
|
|
}
|
|
|
|
swift*:::deallocateObject
|
|
{
|
|
@counts["num deallocated objects"] = count();
|
|
}
|
|
|
|
swift*:::isUniquelyReferenced
|
|
{
|
|
@counts["num calls to isUniquelyReferenced"] = count();
|
|
}
|
|
|
|
swift*:::isUniquelyReferencedOrPinned
|
|
{
|
|
@counts["num calls to isUniquelyReferencedOrPinned"] = count();
|
|
}
|