diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2017-03-28 16:32:25 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-15 16:10:09 +0200 |
commit | 81413799eb4f38d62710b295268249307364000a (patch) | |
tree | 6468fba4268090a7623b10cd655cd41d43188e3d /forms | |
parent | 9863be5254fcce6b74da30b821e9263002e9ac71 (diff) |
comphelper: add a profiling API
Using the guard style ProfileZone aZone("foo").
Test macro:
Sub TimeLog
toolkit = createUnoService("com.sun.star.awt.Toolkit")
toolkit.startRecording()
toolkit.processEventsToIdle()
toolkit.stopRecording()
a = toolkit.getRecordingAndClear()
s = ""
For Each i in a
s = s + i + ", "
Next i
Print s
End Sub
Change-Id: Iceaf9143d0387c87e7936dc67eecbbf71ee8d74a
Reviewed-on: https://gerrit.libreoffice.org/38786
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'forms')
0 files changed, 0 insertions, 0 deletions