All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Context Switch with rtnet
@ 2012-09-14 15:01 Franz Engel
  2012-09-16 14:29 ` Jan Kiszka
  2012-09-21  9:58 ` Kai Bollue
  0 siblings, 2 replies; 13+ messages in thread
From: Franz Engel @ 2012-09-14 15:01 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hi,

I've a little problem. I'm using the rtnet.h-header and the following function:
ret = recvfrom ( ethernetConnection.sock, &recBuffer, sizeof ( recBuffer ),0, ( struct sockaddr * ) &ethernetConnection.dest_addr,&destlen );


I compiled the program with the xenomai compiling flags and library.

When I look to the xenomai state I get something like this:
CPU  PID    MSW        CSW        PF    STAT       %CPU  NAME
 22  0      0          834840     0     00000082    0.1  rtnet-stack
 22  0      0          1          0     00000082    0.0  rtnet-rtpc
  0  6262   2          2          0     00300380    0.0  qs_robotpositio
  2  6265   2          6          0     00300380    0.0  qs_robotpositio
  0  6266   1          1          0     00300380    0.0  robotrsiinterfa
  1  6268   1147       2365       0     00300182    0.8  robotrsiinterfa

You can see, I get a lote of context and module switches just as the rtnet-stack itself. Is that normal?

Thanks in advanced,
    Franz

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <mailman.1.1348308001.4459.xenomai@xenomai.org>]

end of thread, other threads:[~2012-09-22 14:02 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 15:01 [Xenomai] Context Switch with rtnet Franz Engel
2012-09-16 14:29 ` Jan Kiszka
2012-09-20 15:24   ` Franz Engel
2012-09-20 17:33     ` Wolfgang Grandegger
2012-09-20 17:36     ` Gilles Chanteperdrix
2012-09-21  9:58 ` Kai Bollue
2012-09-21 10:02   ` Gilles Chanteperdrix
2012-09-21 10:08     ` Kai Bollue
     [not found] <mailman.1.1348308001.4459.xenomai@xenomai.org>
2012-09-22 13:20 ` Franz Engel
2012-09-22 13:33   ` Gilles Chanteperdrix
2012-09-22 13:55     ` Franz Engel
2012-09-22 14:02       ` Gilles Chanteperdrix
2012-09-22 13:43   ` Gilles Chanteperdrix

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.