Displaying 8 results from an estimated 8 matches for "label_width".
2000 Feb 08
1
DEC cc doesn't like c++ comments (PR#416)
...uot;sys-defines.h"
+/* #include "sys-defines.h" */
 
 /* PAUL MURRELL
    Added this to replace definition in sys-defines.h with R one
 */
-//#include "Mathlib.h"
+/* #include "Mathlib.h" */
 
 /* PAUL MURRELL
    extern.h renamed g_extern.h
@@ -166,7 +166,7 @@
   label_width = _label_width_hershey (dd, codestring);
 
   vmaxset(vmax);
-  //  free (codestring);
+  /*  free (codestring); */
   
   return label_width;
 }
@@ -281,9 +281,9 @@
 
   srtsave = dd->gp.srt;
   dd->gp.srt = rotation;
-  // dd->gp.lwd set in _draw_hershey_string
+  /* dd->gp.lwd set in...
2014 Mar 21
0
[PATCH RFC V2 4/4] tools: virtio: add a top-like utility for displaying vhost satistics
...elf.values
+
+if not os.access('/sys/kernel/debug', os.F_OK):
+    print 'Please enable CONFIG_DEBUG_FS in your kernel'
+    sys.exit(1)
+if not os.access('/sys/module/vhost_net', os.F_OK):
+    print 'Please make sure vhost_net module are loaded'
+    sys.exit(1)
+
+label_width = 40
+number_width = 10
+
+def tui(screen, stats):
+    curses.use_default_colors()
+    curses.noecho()
+    drilldown = False
+    fields_filter = stats.fields_filter
+    def update_drilldown():
+        if not fields_filter:
+            if drilldown:
+                stats.set_fields_filter(No...
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
      vhost: basic tracepoints
      tools: virtio: add a
2012 Apr 10
3
[PATCH 0/2] adding tracepoints to vhost
To help in vhost analyzing, the following series adding basic tracepoints to
vhost. Operations of both virtqueues and vhost works were traced in current
implementation, net code were untouched. A top-like satistics displaying script
were introduced to help the troubleshooting.
TODO:
- net specific tracepoints?
---
Jason Wang (2):
      vhost: basic tracepoints
      tools: virtio: add a
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of
tracepoints. So to help in vhost{net} debugging and performance
analyzing, the following series adding basic tracepoints to
vhost. Operations of both vhost and vhost_net were traced in current
implementation.
A top-like satistics displaying script were introduced to help the
troubleshooting:
vhost statistics
 vhost_virtio_update_used_idx  
2014 Mar 21
5
[PATCH RFC V2 0/4] Adding tracepoints to vhost/net
Recent debugging on vhost net zerocopy shows the need of
tracepoints. So to help in vhost{net} debugging and performance
analyzing, the following series adding basic tracepoints to
vhost. Operations of both vhost and vhost_net were traced in current
implementation.
A top-like satistics displaying script were introduced to help the
troubleshooting:
vhost statistics
 vhost_virtio_update_used_idx  
2005 Dec 15
5
Avery Lables, PDF::Writer or LaTex?
In a new app we are developing, we need to be able to dynamically create 
a PDF and send it to the browser (inline with send_data). I have been 
tinkering with PDF::Writer and love the simplicity and native ruby-ness 
of it all.
However, one of the main uses for this functionality is to output a PDF 
of addresses to be printed on Avery 5161 labels. LaTex seems to be 
suited well for this, but it
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...Line = 247
  An enumerated type is mixed with another type.
    GConvert(&currX, &currY, g_unit, INCHES, dd);
                             ^
cc-1185 c89: WARNING File = g_alab_her.c, Line = 329
  An enumerated type is mixed with another type.
                    GConvertXUnits(x_offset * label_width, g_unit, INCHES, dd),
                                                           ^
cc-1185 c89: WARNING File = g_alab_her.c, Line = 330
  An enumerated type is mixed with another type.
                    GConvertYUnits(y_offset * label_height, g_unit, INCHES, dd));...