mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +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
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 ?? */
|
/* 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()
|
int CChannelList::show()
|
||||||
{
|
{
|
||||||
|
/* temporary debugging stuff */
|
||||||
|
struct timeval t1, t2;
|
||||||
|
gettimeofday(&t1, NULL);
|
||||||
|
|
||||||
neutrino_msg_t msg;
|
neutrino_msg_t msg;
|
||||||
neutrino_msg_data_t data;
|
neutrino_msg_data_t data;
|
||||||
bool actzap = 0;
|
bool actzap = 0;
|
||||||
@@ -467,6 +471,10 @@ int CChannelList::show()
|
|||||||
updateEvents();
|
updateEvents();
|
||||||
paint();
|
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 oldselected = selected;
|
||||||
int zapOnExit = false;
|
int zapOnExit = false;
|
||||||
bool bShowBouquetList = false;
|
bool bShowBouquetList = false;
|
||||||
|
Reference in New Issue
Block a user