mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
channellist: add timing debug output
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@168 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: cbcc10c498
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-16 (Sat, 16 Jan 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -428,6 +428,10 @@ int CChannelList::exec()
|
||||
/* return: >= 0 to zap, -1 on cancel, -3 on list mode change, -4 list edited, -2 zap but no restore old list/chan ?? */
|
||||
int CChannelList::show()
|
||||
{
|
||||
/* temporary debugging stuff */
|
||||
struct timeval t1, t2;
|
||||
gettimeofday(&t1, NULL);
|
||||
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
bool actzap = 0;
|
||||
@@ -467,6 +471,10 @@ int CChannelList::show()
|
||||
updateEvents();
|
||||
paint();
|
||||
|
||||
gettimeofday(&t2, NULL);
|
||||
fprintf(stderr, "CChannelList::show(): %llu ms to paint channellist\n",
|
||||
((t2.tv_sec * 1000000ULL + t2.tv_usec) - (t1.tv_sec * 1000000ULL + t1.tv_usec)) / 1000ULL);
|
||||
|
||||
int oldselected = selected;
|
||||
int zapOnExit = false;
|
||||
bool bShowBouquetList = false;
|
||||
|
Reference in New Issue
Block a user