haiku/src/servers/app/ProfileMessageSupport.h
Stephan Aßmus 67f3be42b0 * added ProfileMessageSupport.h/cpp to translate server message codes to
a string
* fixed profiling of message processsing in ServerWindow (didn't take batch
  processing into account)
* accelerated ViewLayer::RebuildClipping() by a factor of two by avoiding
  BRegion::Exclude(clipping_rect) for each child, and instead building
  one region with all children, and excluding that. RebuildClipping() is
  quite a common operation and is quite slow for views with many children


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-07-18 12:59:05 +00:00

19 lines
355 B
C

/*
* Copyright 2007, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* Stephan Aßmus <superstippi@gmx.de>
*/
#ifndef PROFILE_MESSAGE_SUPPORT_H
#define PROFILE_MESSAGE_SUPPORT_H
#include <String.h>
void string_for_message_code(uint32 code, BString& string);
#endif // PROFILE_MESSAGE_SUPPORT_H