feedback.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * Copyright (c) 2013 by Tensilica Inc. ALL RIGHTS RESERVED.
  3. * These coded instructions, statements, and computer programs are the
  4. * copyrighted works and confidential proprietary information of Tensilica Inc.
  5. * They may not be modified, copied, reproduced, distributed, or disclosed to
  6. * third parties in any manner, medium, or form, in whole or in part, without
  7. * the prior written consent of Tensilica Inc.
  8. */
  9. #ifndef __XT_FEEDBACK_INCLUDED__
  10. #define __XT_FEEDBACK_INCLUDED__
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. /* xt_feedback_save_and_reset
  15. Save and reset the accumulated feedback data.
  16. */
  17. extern void xt_feedback_save_and_reset(void);
  18. /* xt_feedback_enable
  19. Turn on feedback accumulation. Ordinarily, feedback accumulation is on
  20. by default. If you turn it off using xt_feedback_disable, You can turn
  21. it on again via this function.
  22. */
  23. extern void xt_feedback_enable (void);
  24. /* xt_feedback_disable
  25. Turn off feedback accumulation. If you don't want to gather feedback for a
  26. portion of your code, use this function and then xt_feedback_enable when
  27. you want to start again.
  28. */
  29. extern void xt_feedback_disable (void);
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33. #endif /* __XT_FEEDBACK_INCLUDED__ */