Displaying 7 results from an estimated 7 matches for "_sc_clk_tck".
2011 Apr 05
2
Snmp cpuRawIdle showing double
Posted this to xen-users back in Oct
(http://www.gossamer-threads.com/lists/xen/users/186768), but just
confirmed that I''m still seeing this behavior on 4.1.
Polling the UCE-SNMP-MIB::ssCpuRawIdle counter results in a total that''s
double the actual number of cpu''s on the system, so for example:
nms ~ # snmpwalk -v 2c -c ''XXX'' xen1
2010 Mar 18
0
[MODULE] COM32 module to time null-dumping a file
...e BUFSZ 2048
+/* What's optimal? Under 4k?
+ * layout.inc: xfer_buf_seg equ 1000h
+ */
+
+float get_tps(){ return 18.2; }
+
+#else /* __COM32__ */
+
+#define BUFSZ 16384
+/* Need to check what might be a "best" buffer/fetch block size here */
+
+float get_tps(){ return (float)sysconf(_SC_CLK_TCK); }
+void print_cp_result2(char *fn, int bcnt, clock_t bc, clock_t ec)
+{
+ float et, dr;
+ et = ((float)(ec - bc)) / (float)sysconf(_SC_CLK_TCK);
+ dr = ((float)bcnt) / et;
+ printf(" %dB in %.3fs from '%s'\n", bcnt, et, fn);
+ printf(" %.0f B/s; %.0f KiB/s; %.0f MiB/s\n&q...
2010 Mar 20
1
[MODULE] COM32 module to time null-dumping a file, v1.1
...ut.inc: xfer_buf_seg equ 1000h
+ */
+# define O_DIRECT 0
+
+static inline float get_tps(){ return 18.2; }
+
+#else /* __COM32__ */
+
+# define BUFSZ_DEF 16384
+/* Need to check what might be a "best" buffer/fetch block size here */
+
+static inline float get_tps(){ return (float)sysconf(_SC_CLK_TCK); }
+
+#endif /* __COM32__ */
+
+#ifndef SSIZE_MAX
+# define SSIZE_MAX PTRDIFF_MAX
+#endif
+/* typedef ptrdiff_t ssize_t; */
+#define BUFSZ_MAX SSIZE_MAX
+/* ssize_t max */
+#define BUFSZ_MIN 1
+#ifndef OFF_MAX
+# define OFF_MAX SIZE_MAX
+#endif
+/* typedef size_t off_t */
+#define LEN_MAX OFF_M...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2009 Oct 09
0
Wine release 1.1.31
...crophone test (or use mic)
19851 interlocked* functions unimplemented for ARM
19897 d3d10/dxgi: device.ok crashes on MacOS X (InitAdapters/glGetString)
19901 Burg Schreckenstein: OSS HW emulation plays too slow and crashes
19963 GetSystemTimeAdjustment() should return 10000000 / sysconf(_SC_CLK_TCK)
19977 runasdate: buggy comctl32 behavior
19994 Microsoft Security Essentials Setup crashes missing __uncaught_exception
20094 messui.exe: instantly crashes
20121 Cities XL Demo fails to run
20153 AutoCAD 2008: Icons in popup menus too big
20159 EVE Online crashes on Character sel...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and